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

This commit is contained in:
Anna Kozlova
2013-02-04 14:04:46 +04:00
parent 68f7ee96f7
commit dba040b010
4 changed files with 44 additions and 33 deletions

View File

@@ -0,0 +1,8 @@
public class SplitCondition {
private static void appendString(StringBuilder builder, boolean condition) {
if (condition) {
if (builder.length() > 0) {
}
}
}
}