Skip to content

Commit

Permalink
fixed inner classes
Browse files Browse the repository at this point in the history
  • Loading branch information
aL118 committed Aug 23, 2023
1 parent 012a715 commit 52c937e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/java/emissary/core/MobileAgentTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void testAddParrallelTrackingInfo() {

@Test
void testDenyList() throws Exception {
HDMobileAgent agent = new MobAg2();
HDMobileAgent agent = new HDMobileAgent();

// test accepted
byte[] configDeniedData = ("PLACE_NAME = \"DelayPlace\"\n" + "SERVICE_NAME = \"DELAY\"\n"
Expand Down Expand Up @@ -136,11 +136,9 @@ protected DirectoryEntry nextKeyFromDirectory(final String dataID, final IServic
}
}

class PlaceTest extends DirectoryPlace {
static class PlaceTest extends DirectoryPlace {
public PlaceTest(final String placeLoc, InputStream config) throws IOException {
super(config, placeLoc, new EmissaryNode());
}
}
static final class MobAg2 extends HDMobileAgent {
}
}

0 comments on commit 52c937e

Please sign in to comment.