Skip to content

Commit

Permalink
errorprone :: MultipleTopLevelClasses (#891)
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-mlb authored Aug 29, 2024
1 parent ae17598 commit 47331dd
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/test/java/emissary/command/BaseCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,18 @@ void testFlavor() throws Exception {
TestBaseCommand cmd = TestBaseCommand.parse(TestBaseCommand.class, args);
assertEquals(cmd.getFlavor(), flavorString);
}
}


class TestBaseCommand extends BaseCommand {
static class TestBaseCommand extends BaseCommand {

public TestBaseCommand() {}
@Override
public String getCommandName() {
return "GOAWAY";
}

@Override
public String getCommandName() {
return "GOAWAY";
}

@Override
public void run(CommandLine c) {
setup();
@Override
public void run(CommandLine c) {
setup();
}
}
}

0 comments on commit 47331dd

Please sign in to comment.