You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by se...@apache.org on 2014/03/18 02:45:04 UTC

svn commit: r1578707 - /httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java

Author: sebb
Date: Tue Mar 18 01:45:04 2014
New Revision: 1578707

URL: http://svn.apache.org/r1578707
Log:
Fixup comments:
- remind readers not to omit the Locale
- avoid possible false positives when searching for missing Locales

Modified:
    httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java

Modified: httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java?rev=1578707&r1=1578706&r2=1578707&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java (original)
+++ httpcomponents/httpclient/branches/4.3.x/httpclient/src/main/java/org/apache/http/conn/scheme/SchemeRegistry.java Tue Mar 18 01:45:04 2014
@@ -104,7 +104,7 @@ public final class SchemeRegistry {
     public final Scheme get(final String name) {
         Args.notNull(name, "Scheme name");
         // leave it to the caller to use the correct name - all lowercase
-        //name = name.toLowerCase();
+        //name = name.toLowerCase(Locale.ENGLISH);
         final Scheme found = registeredSchemes.get(name);
         return found;
     }
@@ -136,7 +136,7 @@ public final class SchemeRegistry {
     public final Scheme unregister(final String name) {
         Args.notNull(name, "Scheme name");
         // leave it to the caller to use the correct name - all lowercase
-        //name = name.toLowerCase();
+        //name = name.toLowerCase(Locale.ENGLISH);
         final Scheme gone = registeredSchemes.remove(name);
         return gone;
     }