From ca690f8efc43341b6c052cf571b13517db8fa8de Mon Sep 17 00:00:00 2001 From: Maxim Medvedev Date: Tue, 20 Jul 2010 16:13:33 +0400 Subject: [PATCH] IDEA-47083 intention description --- .../after.groovy.template | 1 + .../before.groovy.template | 1 + .../description.html | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/after.groovy.template create mode 100644 plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/before.groovy.template create mode 100644 plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/description.html diff --git a/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/after.groovy.template b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/after.groovy.template new file mode 100644 index 000000000000..221308e2c833 --- /dev/null +++ b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/after.groovy.template @@ -0,0 +1 @@ +def objects = [foo, bar] \ No newline at end of file diff --git a/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/before.groovy.template b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/before.groovy.template new file mode 100644 index 000000000000..9944d004075f --- /dev/null +++ b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/before.groovy.template @@ -0,0 +1 @@ +def objects = new Object[] {foo, bar} diff --git a/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/description.html b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/description.html new file mode 100644 index 000000000000..a57eb1cb3c81 --- /dev/null +++ b/plugins/groovy/resources/intentionDescriptions/convertJavaStyleArrayCreationIntention/description.html @@ -0,0 +1,7 @@ + + + +This intention converts java-style array creation to groovy syntax. + + +