/src/main/java/org/htmlunit/util/OrderedFastHashMap.java
this.mapData_ = new Object[newCapacity];this.orderedList_ = new int[newCapacity];
this.orderedList_ = new int[newCapacity];
private void rehash(final int newCapacity) { this.mapThreshold_ = (int) (newCapacity / 2 * FILLFACTOR_); final Object[] oldData = this.mapData_; this.mapData_ = new Object[newCapacity]; final int[] oldOrderedList = this.orderedList_; final int oldOrderedListSize = this.orderedListSize_; <extra_id_0> this.mapSize_ = 0; this.orderedListSize_ = 0; for (int i = 0; i < oldOrderedListSize; i++) { final int pos = oldOrderedList[i]; final K key = (K) oldData[pos]; final V value = (V) oldData[pos + 1];