http-client-branch: remove cookieMan http-client-branch
authorchegar
Tue, 14 Nov 2017 15:28:10 +0000 (2017-11-14)
branchhttp-client-branch
changeset 55813 1b61574881e8
parent 55812 0a3a307f3502
child 55814 cb1e2086ca36
http-client-branch: remove cookieMan
src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/CookieFilter.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/CookieFilter.java	Tue Nov 14 15:14:51 2017 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/CookieFilter.java	Tue Nov 14 15:28:10 2017 +0000
@@ -76,9 +76,9 @@
         Log.logTrace("Response: processing cookies for {0}", request.uri());
         Optional<CookieHandler> cookieHandlerOpt = e.client().cookieHandler();
         if (cookieHandlerOpt.isPresent()) {
-            CookieHandler cookieMan = cookieHandlerOpt.get();
+            CookieHandler cookieHandler = cookieHandlerOpt.get();
             Log.logTrace("Response: parsing cookies from {0}", hdrs.map());
-            cookieMan.put(request.uri(), hdrs.map());
+            cookieHandler.put(request.uri(), hdrs.map());
         } else {
             Log.logTrace("Response: No cookie manager found for {0}",
                          request.uri());