SplitIfAction and ExtractIfConditionAction code unified

Fixes IDEA-152047 Better "Split into 2 if's" result for else-if cases
This commit is contained in:
Tagir Valeev
2018-04-09 12:34:01 +07:00
parent 928da249fa
commit 86bb492eb2
15 changed files with 310 additions and 224 deletions
@@ -1,8 +1,8 @@
public class SplitCondition {
private static void appendString(StringBuilder builder, boolean condition) {
if (condition) {
if (builder.length() > 0) {
}
}
if (condition) {
if (builder.length() > 0) {
}
}
}
}