mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-43096 Inspection for gstrings used as map keys. Fix description misprints.
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports any instances of Groovy statements witch attempts to put GString object as a key to map.
|
||||
This inspection reports any instances of Groovy statements which attempts to put GString object as a key to map.
|
||||
In a general way GString objects are mutable and probably should not be used as keys.
|
||||
<p>
|
||||
Also, GString entry could no be accessed with java.lang.String object with same value. Example:
|
||||
Also, GString entry could not be accessed with java.lang.String object with same value. Example:
|
||||
<br>
|
||||
<pre>
|
||||
def map = [:]
|
||||
|
||||
Reference in New Issue
Block a user