arturobernalg commented on code in PR #433:
URL: 
https://github.com/apache/httpcomponents-client/pull/433#discussion_r1174554490


##########
httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/CachedResponseSuitabilityChecker.java:
##########
@@ -241,6 +246,26 @@ public boolean canCachedResponseBeUsed(final HttpHost 
host, final HttpRequest re
         return true;
     }
 
+    /**
+     * Determine if I can utilize a {@link HttpCacheEntry} to respond to the 
given
+     * {@link HttpRequest}
+     *
+     * @param host
+     *            {@link HttpHost}
+     * @param request
+     *            {@link HttpRequest}
+     * @param entry
+     *            {@link HttpCacheEntry}
+     * @param now
+     *            Right now in time
+     * @return boolean yes/no answer
+     * @deprecated (5.3) use {@link #canCachedResponseBeUsed(HttpRequest, 
HttpCacheEntry, Instant)}
+     */
+    @Deprecated

Review Comment:
   @ok2c True,
   I just remove the old method.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to