From f735576871b8ce3490d9d490744d607c0af4bd92 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Wed, 18 Jan 2017 17:52:37 +0100 Subject: [PATCH] make intention template consistent with other java intentions --- .../ConvertCompareToToEqualsIntention/after.java.template | 6 ++++-- .../before.java.template | 8 +++++--- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/after.java.template b/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/after.java.template index 3b3bf5e7e256..b90cbc5228d8 100644 --- a/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/after.java.template +++ b/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/after.java.template @@ -1,4 +1,6 @@ -void m(String s1, String s2) { - if (!s1.equals(s2)) { +public class X { + void m(String s1, String s2) { + if (!s1.equals(s2)) { + } } } \ No newline at end of file diff --git a/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/before.java.template b/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/before.java.template index 58a3755ee42b..27ab0426319b 100644 --- a/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/before.java.template +++ b/resources-en/src/intentionDescriptions/ConvertCompareToToEqualsIntention/before.java.template @@ -1,4 +1,6 @@ -void m(String s1, String s2) { - if (s1.compareTo(s2) != 0) { +public class X { + void m(String s1, String s2) { + if (s1.compareTo(s2) != 0) { + } } -} +} \ No newline at end of file