mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-10 15:51:03 +08:00
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
@ -1,3 +1,8 @@
|
||||
2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
|
||||
|
||||
* java/util/IdentityHashMap.java (put): Replace mistaken use
|
||||
of "<<" by "*".
|
||||
|
||||
2004-12-06 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
For PR java/14853:
|
||||
|
@ -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…
x
Reference in New Issue
Block a user