attempt to clarify the description

This commit is contained in:
Bas Leijdekkers
2012-07-18 15:34:12 +02:00
parent b22839c778
commit e31907e426
2 changed files with 3 additions and 2 deletions
@@ -1,6 +1,6 @@
class X {
void bar(boolean b) {
String str = <spot>foo(b ? "true": "false")</spot>;
String str = foo(b ? "true": "false");
}
String foo(String p) {
@@ -1,5 +1,6 @@
<html>
<body>
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.
</body>
</html>