From e31907e42675dfdd1e9150c6dbbf321f4f1af04f Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Wed, 18 Jul 2012 15:34:12 +0200 Subject: [PATCH] attempt to clarify the description --- .../PushConditionInCallAction/after.java.template | 2 +- .../PushConditionInCallAction/description.html | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources-en/src/intentionDescriptions/PushConditionInCallAction/after.java.template b/resources-en/src/intentionDescriptions/PushConditionInCallAction/after.java.template index 516ac2869765..1c374e050b25 100644 --- a/resources-en/src/intentionDescriptions/PushConditionInCallAction/after.java.template +++ b/resources-en/src/intentionDescriptions/PushConditionInCallAction/after.java.template @@ -1,6 +1,6 @@ class X { void bar(boolean b) { - String str = foo(b ? "true": "false"); + String str = foo(b ? "true": "false"); } String foo(String p) { diff --git a/resources-en/src/intentionDescriptions/PushConditionInCallAction/description.html b/resources-en/src/intentionDescriptions/PushConditionInCallAction/description.html index a8c456298c34..8485d525c15f 100644 --- a/resources-en/src/intentionDescriptions/PushConditionInCallAction/description.html +++ b/resources-en/src/intentionDescriptions/PushConditionInCallAction/description.html @@ -1,5 +1,6 @@ -This intention pushes condition inside method call when both branches call same method and only one argument differs. +This intention pushes the condition of a conditional expression, with identical method calls on both branches, +inside the method call if possible. \ No newline at end of file