summaryrefslogtreecommitdiffstats
path: root/src/test/java/com/gitblit/tests/ArrayUtilsTest.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2013-09-30 16:22:15 -0400
committerJames Moger <james.moger@gitblit.com>2013-09-30 16:22:15 -0400
commitc00577e5ddded5e53c9074da7def30bd9c350a1e (patch)
treed8786c719807c30104b727516e0d33d41b485674 /src/test/java/com/gitblit/tests/ArrayUtilsTest.java
parent699e71e76b15081baf746c6ce9c9144f7e5f1ff9 (diff)
downloadgitblit-c00577e5ddded5e53c9074da7def30bd9c350a1e.tar.gz
gitblit-c00577e5ddded5e53c9074da7def30bd9c350a1e.zip
Remove trailing whitespace from unit tests
Change-Id: I172bd4d493eee1013ec542ab97f1be29040f816d
Diffstat (limited to 'src/test/java/com/gitblit/tests/ArrayUtilsTest.java')
-rw-r--r--src/test/java/com/gitblit/tests/ArrayUtilsTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/com/gitblit/tests/ArrayUtilsTest.java b/src/test/java/com/gitblit/tests/ArrayUtilsTest.java
index 8a38afbb..45964a18 100644
--- a/src/test/java/com/gitblit/tests/ArrayUtilsTest.java
+++ b/src/test/java/com/gitblit/tests/ArrayUtilsTest.java
@@ -37,10 +37,10 @@ public class ArrayUtilsTest {
Object [] emptyArray = new Object[0];
assertTrue(ArrayUtils.isEmpty(emptyArray));
-
+
assertFalse(ArrayUtils.isEmpty(new String [] { "" }));
}
-
+
@Test
public void testLists() {
List<?> nullList = null;
@@ -48,11 +48,11 @@ public class ArrayUtilsTest {
List<?> emptyList = new ArrayList<Object>();
assertTrue(ArrayUtils.isEmpty(emptyList));
-
+
List<?> list = Arrays.asList("");
assertFalse(ArrayUtils.isEmpty(list));
}
-
+
@Test
public void testSets() {
Set<?> nullSet = null;
@@ -60,7 +60,7 @@ public class ArrayUtilsTest {
Set<?> emptySet = new HashSet<Object>();
assertTrue(ArrayUtils.isEmpty(emptySet));
-
+
Set<?> set = new HashSet<Object>(Arrays.asList(""));
assertFalse(ArrayUtils.isEmpty(set));
}