aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
diff options
context:
space:
mode:
Diffstat (limited to 'jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java')
-rw-r--r--jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
index eeae1fa74bc..a3cb31d5ecb 100644
--- a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
+++ b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/HttpRequestTestCase.java
@@ -28,7 +28,7 @@ public class HttpRequestTestCase {
@Test
public void requireThatSimpleServerConstructorsUseReasonableDefaults() {
- final URI uri = URI.create("http://localhost/");
+ URI uri = URI.create("http://localhost/");
HttpRequest request = HttpRequest.newServerRequest(mockContainer(), uri);
assertTrue(request.isServerRequest());
assertEquals(uri, request.getUri());
@@ -50,9 +50,9 @@ public class HttpRequestTestCase {
@Test
public void requireThatSimpleClientConstructorsUseReasonableDefaults() {
- final Request parent = new Request(mockContainer(), URI.create("http://localhost/"));
+ Request parent = new Request(mockContainer(), URI.create("http://localhost/"));
- final URI uri = URI.create("http://remotehost/");
+ URI uri = URI.create("http://remotehost/");
HttpRequest request = HttpRequest.newClientRequest(parent, uri);
assertFalse(request.isServerRequest());
assertEquals(uri, request.getUri());