Commit 7fd64ba3 by Ranjit Mathew Committed by Ranjit Mathew

IdentityHashMap.java (put): Replace mistaken use of "<<" by "*".

	* java/util/IdentityHashMap.java (put): Replace mistaken use of
	"<<" by "*".

From-SVN: r91852
parent 58b42e19
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment