Skip to content

Commit fda59bc

Browse files
committed
Removing a redundant variable
1 parent ff9c111 commit fda59bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/security-basicauth/src/test/java/org/javaee7/servlet/security/basicauth/SecureServletTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public void testWithIncorrectCredentials() throws Exception {
5757
WebClient webClient = new WebClient();
5858
webClient.setCredentialsProvider(incorrectCreds);
5959
try {
60-
HtmlPage page = webClient.getPage(base + "/SecureServlet");
60+
webClient.getPage(base + "/SecureServlet");
6161
} catch(FailingHttpStatusCodeException e) {
6262
assertNotNull(e);
6363
assertEquals(401, e.getStatusCode());

0 commit comments

Comments
 (0)