Optimize DefaultHttpHeaders.contains(...)
This commit is contained in:
parent
8eb88b7889
commit
279e2e3cd2
@ -294,7 +294,7 @@ public class DefaultHttpHeaders extends HttpHeaders {
|
|||||||
while (e != null) {
|
while (e != null) {
|
||||||
if (e.hash == h && equalsIgnoreCase(name, e.key)) {
|
if (e.hash == h && equalsIgnoreCase(name, e.key)) {
|
||||||
if (ignoreCaseValue) {
|
if (ignoreCaseValue) {
|
||||||
if (e.value.equalsIgnoreCase(value)) {
|
if (equalsIgnoreCase(e.value, value)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user