From 532afa0703db4b81cf05a1b26e82e9b1ce1d86d4 Mon Sep 17 00:00:00 2001 From: "alexey.afanasiev" Date: Fri, 27 Jan 2017 13:14:20 +0300 Subject: [PATCH] IDEA-43096 Inspection for gstrings used as map keys. Fix description misprints. --- .../resources/inspectionDescriptions/GroovyGStringKey.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyGStringKey.html b/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyGStringKey.html index 9907c2166e3d..604731376fb8 100644 --- a/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyGStringKey.html +++ b/plugins/groovy/groovy-psi/resources/inspectionDescriptions/GroovyGStringKey.html @@ -1,9 +1,9 @@ -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.

-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:

     def map = [:]