You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by GitBox <gi...@apache.org> on 2021/11/27 18:19:30 UTC
[GitHub] [httpcomponents-client] arturobernalg commented on a change in pull request #330: HTTPCLIENT-2189 - Use Time APIs for date for the remain classes in the HttpClient API.
arturobernalg commented on a change in pull request #330:
URL: https://github.com/apache/httpcomponents-client/pull/330#discussion_r757806972
##########
File path: httpclient5/src/main/java/org/apache/hc/client5/http/cookie/Cookie.java
##########
@@ -77,9 +78,26 @@
* considered immutable. Changing it (e.g. using setTime()) could result
* in undefined behaviour. Do so at your peril. </p>
* @return Expiration {@link Date}, or {@code null}.
+ * @deprecated Use {{@link #getExpiryInstant()}}
*/
+ @SuppressWarnings("DeprecatedIsStillUsed")
+ @Deprecated
Date getExpiryDate();
Review comment:
Hi @ok2c
The annotations @SuppressWarnings support method. through this ways no need annotated where it is used.
--
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-unsubscribe@hc.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org