split if: assertion when no spaces present (IDEA-100389)

This commit is contained in:
Anna Kozlova
2013-02-04 14:07:10 +04:00
parent 68f7ee96f7
commit dba040b010
4 changed files with 44 additions and 33 deletions
@@ -0,0 +1,8 @@
public class SplitCondition {
private static void appendString(StringBuilder builder, boolean condition) {
if (condition) {
if (builder.length() > 0) {
}
}
}
}
@@ -0,0 +1,6 @@
public class SplitCondition {
private static void appendString(StringBuilder builder, boolean condition) {
if (condition&<caret>&builder.length() > 0) {
}
}
}