Fixup comments:
- remind readers not to omit the Locale - avoid possible false positives when searching for missing Locales git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1578687 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b370df34ca
commit
6cbac13a39
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue