Code clean-up for CheckStyle.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1393626 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joerg Schaible 2012-10-03 17:17:40 +00:00
parent 28476afb7d
commit ca9cbf976e
2 changed files with 355 additions and 226 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,8 +18,8 @@
*******************************************************************************/
package org.apache.commons.lang3;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.fail;
import java.util.UUID;
@ -506,8 +506,11 @@ public class ConversionTest {
static String dbgPrint(boolean[] src) {
StringBuilder sb = new StringBuilder();
for (boolean e : src) {
if (e) sb.append("1,");
else sb.append("0,");
if (e) {
sb.append("1,");
} else {
sb.append("0,");
}
}
String out = sb.toString();
return out.substring(0, out.length() - 1);