| commit | 8d3587250039071ad900456c04428f45d907b3e9 | [log] [tgz] | 
|---|---|---|
| author | Gary Gregory <garydgregory@gmail.com> | Sat Feb 09 09:43:55 2019 -0500 | 
| committer | Gary Gregory <garydgregory@gmail.com> | Sat Feb 09 09:43:55 2019 -0500 | 
| tree | cecd70fb48b1737c0ba5018299748094ff3e1010 | |
| parent | 556dd7d2156f070b5eae4cfd4861b58f336474cb [diff] | 
UriPatternType clean up.
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/RequestHandlerRegistry.java b/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/RequestHandlerRegistry.java index 61ced60..6618806 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/RequestHandlerRegistry.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/RequestHandlerRegistry.java
@@ -87,7 +87,7 @@ public RequestHandlerRegistry(final UriPatternType patternType) { } public RequestHandlerRegistry() { - this(LOCALHOST, UriPatternType.BASIC); + this(LOCALHOST, UriPatternType.URI_PATTERN); } private LookupRegistry<T> getPatternMatcher(final String hostname) {
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/UriPatternType.java b/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/UriPatternType.java index 1ab9c85..35c5625 100644 --- a/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/UriPatternType.java +++ b/httpcore5/src/main/java/org/apache/hc/core5/http/protocol/UriPatternType.java
@@ -33,7 +33,7 @@ public enum UriPatternType { /** - * @deprecated Use {@link #URI_PATTERN_IN_ORDER}. + * @deprecated Use {@link #URI_PATTERN}. */ @Deprecated BASIC,