mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-02 00:57:59 +07:00
Use correct 'contains' call in java
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ class JavaMapVariable(type: MapType, name: String)
|
||||
|
||||
override operator fun set(key: Expression, newValue: Expression): Expression = call("put", key, newValue)
|
||||
|
||||
override fun contains(key: Expression): Expression = call("contains", key)
|
||||
override fun contains(key: Expression): Expression = call("containsKey", key)
|
||||
|
||||
override fun keys(): Expression = call("keySet")
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
map.contains(key);
|
||||
map.containsKey(key);
|
||||
|
||||
Reference in New Issue
Block a user