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 2022/07/01 16:54:10 UTC

[GitHub] [httpcomponents-core] ok2c commented on a diff in pull request #355: Code cleanup and optimization

ok2c commented on code in PR #355:
URL: https://github.com/apache/httpcomponents-core/pull/355#discussion_r912116329


##########
httpcore5/src/main/java/org/apache/hc/core5/util/Deadline.java:
##########
@@ -60,12 +60,12 @@ public class Deadline {
     /**
      * The maximum (longest-lived) deadline.
      */
-    public static Deadline MAX_VALUE = new Deadline(INTERNAL_MAX_VALUE);
+    public static final Deadline MAX_VALUE = new Deadline(INTERNAL_MAX_VALUE);
 
     /**
      * The minimum (shortest-lived) deadline.
      */
-    public static Deadline MIN_VALUE = new Deadline(INTERNAL_MIN_VALUE);
+    public static final Deadline MIN_VALUE = new Deadline(INTERNAL_MIN_VALUE);

Review Comment:
   @jkmcl This breaks binary compatibility. See build failure in Travis C. `URIBuilder` optimization looks good, but two first commits look useless. Please drop them.



-- 
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