Skip to content

Commit 1539824

Browse files
committed
HashMap.clone() fix
1 parent 5278c9f commit 1539824

File tree

6 files changed

+4
-4
lines changed

6 files changed

+4
-4
lines changed
43 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200314182519
1+
20200315182226
43 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20200314182519
1+
20200315182226
43 Bytes
Binary file not shown.

sources/net.sf.j2s.java.core/src/java/util/HashMap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ void putMapEntries(Map<? extends K, ? extends V> mOriginal, boolean evict) {
500500
if (Map.秘isSimple(this) && Map.秘isSimple(mOriginal)) {
501501
HashMap me = this;
502502
/**
503-
* @j2sNative m.秘m.forEach(function(value, key) {
503+
* @j2sNative mOriginal.秘m.forEach(function(value, key) {
504504
*
505505
*/
506506
me.putVal(NO_RETURN, key, value, false, evict, Map.秘hasKey(me, key));
@@ -519,7 +519,7 @@ void putMapEntries(Map<? extends K, ? extends V> mOriginal, boolean evict) {
519519
if (Map.秘isSimple(mOriginal)) {
520520
HashMap me = this;
521521
/**
522-
* @j2sNative m.秘m.forEach(function(value, key) {
522+
* @j2sNative mOriginal.秘m.forEach(function(value, key) {
523523
*
524524
*/
525525
me.putVal(hash(key), key, value, false, evict, NOT_SIMPLE);

0 commit comments

Comments
 (0)