Skip to content

Commit 4903c2b

Browse files
committed
Cooper dictionary fix
1 parent fde9550 commit 4903c2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Dictionary.Java.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ public extension Swift.Dictionary : java.util.Map<Key,Value> {
1818
}
1919
public mutating func put(_ arg1: Key!, _ arg2: Value!) -> Value! {
2020
makeUnique()
21-
return dictionary.put(arg1, arg1)
21+
return dictionary.put(arg1, arg2)
2222
}
2323
public mutating func remove(_ arg1: Object!, _ arg2: Object!) -> Bool {
2424
makeUnique()
25-
return dictionary.remove(arg1, arg1)
25+
return dictionary.remove(arg1, arg2)
2626
}
2727
public mutating func remove(_ arg1: Object!) -> Value! {
2828
makeUnique()

0 commit comments

Comments
 (0)