Skip to content

Commit

Permalink
Fixed Checkstyle issues
Browse files Browse the repository at this point in the history
Signed-off-by: Gino Augustine <[email protected]>
  • Loading branch information
ginoaugustine committed Aug 17, 2023
1 parent b727728 commit b7f6cc6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private ContainerRequestContext mockContainerRequestContext(final String path) {

@Test
public void localhostTest() throws Exception {
assertFilterDoesNotBlockAddress("127.0.0.1","test");
assertFilterDoesNotBlockAddress("127.0.0.1", "test");
}

private void assertFilterDoesNotBlockAddress(final String remoteAddr, final String url) throws Exception {
Expand All @@ -215,17 +215,17 @@ private void assertFilterDoesNotBlockAddress(final String remoteAddr, final Stri

@Test
public void localhostIPv6Test() throws Exception {
assertFilterDoesNotBlockAddress("0:0:0:0:0:0:0:1","test");
assertFilterDoesNotBlockAddress("0:0:0:0:0:0:0:1", "test");
}

@Test
public void searchTest() throws Exception {
assertFilterDoesNotBlockAddress("10.0.0.1","search");
assertFilterDoesNotBlockAddress("10.0.0.1", "search");
}

@Test
public void systemPingRemoteWithoutTokenTest() throws Exception {
assertFilterDoesNotBlockAddress("10.0.0.1","system/ping");
assertFilterDoesNotBlockAddress("10.0.0.1", "system/ping");
}

@Test
Expand Down

0 comments on commit b7f6cc6

Please sign in to comment.