Tiny optimization
This commit is contained in:
parent
2f601dcbaf
commit
1a04586b54
@ -634,12 +634,8 @@ public class HttpHeaders {
|
||||
// Update the hash table.
|
||||
Entry e = entries[i];
|
||||
Entry newEntry;
|
||||
if (e == null) {
|
||||
entries[i] = newEntry = new Entry(h, name, value);
|
||||
} else {
|
||||
entries[i] = newEntry = new Entry(h, name, value);
|
||||
newEntry.next = e;
|
||||
}
|
||||
|
||||
// Update the linked list.
|
||||
newEntry.addBefore(head);
|
||||
|
Loading…
Reference in New Issue
Block a user