From 9dc4a84d707adda0c71ad90aa0edf7a52e81fed9 Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Fri, 18 Jan 2013 23:39:26 +0400 Subject: [PATCH] IDEA-99337 Intention "Convert [] Form to index method" (Before->After should be swapped) --- .../IndexedExpressionConversionIntention/after.groovy.template | 2 +- .../IndexedExpressionConversionIntention/before.groovy.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/after.groovy.template b/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/after.groovy.template index 5a8a95a5f34a..8521c7c6005b 100644 --- a/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/after.groovy.template +++ b/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/after.groovy.template @@ -1,2 +1,2 @@ -x = y[z] +x = y.getAt(z) diff --git a/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/before.groovy.template b/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/before.groovy.template index 8521c7c6005b..5a8a95a5f34a 100644 --- a/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/before.groovy.template +++ b/plugins/groovy/resources/intentionDescriptions/IndexedExpressionConversionIntention/before.groovy.template @@ -1,2 +1,2 @@ -x = y.getAt(z) +x = y[z]