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/02/05 09:21:45 UTC

[GitHub] [httpcomponents-core] michael-o commented on a change in pull request #254: Minor Improvements:

michael-o commented on a change in pull request #254:
URL: https://github.com/apache/httpcomponents-core/pull/254#discussion_r570828457



##########
File path: httpcore5/src/main/java/org/apache/hc/core5/http/protocol/UriPatternType.java
##########
@@ -41,11 +41,10 @@
         switch (type) {
         case REGEX:
             return new UriRegexMatcher<>();
-        case URI_PATTERN:
-            return new UriPatternMatcher<>();
         case URI_PATTERN_IN_ORDER:
             return new UriPatternOrderedMatcher<>();
-        default:
+        case URI_PATTERN:
+            default:

Review comment:
       Restore indentation.




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

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