IdentityHashMap.java (put): Replace mistaken use of "<<" by "*".
* java/util/IdentityHashMap.java (put): Replace mistaken use of "<<" by "*". From-SVN: r91852
This commit is contained in:
parent
58b42e19f7
commit
7fd64ba372
2 changed files with 6 additions and 1 deletions
|
@ -492,7 +492,7 @@ public class IdentityHashMap extends AbstractMap
|
|||
Object[] old = table;
|
||||
// This isn't necessarily prime, but it is an odd number of key/value
|
||||
// slots, which has a higher probability of fewer collisions.
|
||||
table = new Object[old.length << 1 + 2];
|
||||
table = new Object[(old.length * 2) + 2];
|
||||
Arrays.fill(table, emptyslot);
|
||||
size = 0;
|
||||
threshold = (table.length >>> 3) * 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue