diff --git a/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/after.groovy.template b/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/after.groovy.template index 06fb6d636fc7..25d459273914 100644 --- a/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/after.groovy.template +++ b/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/after.groovy.template @@ -1,4 +1,6 @@ -public class X { - void f(a, b) { - if (b &&a) return; +if (cond2) { + doSomething2() } +else if (cond1) { + doSomething1() +} \ No newline at end of file diff --git a/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/before.groovy.template b/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/before.groovy.template index b0729abb52a1..75c88f5ed9f2 100644 --- a/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/before.groovy.template +++ b/plugins/groovy/resources/intentionDescriptions/FlipIfIntention/before.groovy.template @@ -1,4 +1,6 @@ -public class X { - void f(a, b) { - if (a && b) return; +if (cond1) { + doSomething1() } +else if (cond2) { + doSomething2() +} \ No newline at end of file