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