abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1228835 - /abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java
Date Sun, 08 Jan 2012 12:51:22 GMT
Author: antelder
Date: Sun Jan  8 12:51:22 2012
New Revision: 1228835

URL: http://svn.apache.org/viewvc?rev=1228835&view=rev
Log:
Split statement into multiple statements to fix Maven compile. I don't know if there is a
better way to write that, this isn't as nice  but it was the only way i could get the Maven
compile working

Modified:
    abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java

Modified: abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java
URL: http://svn.apache.org/viewvc/abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java?rev=1228835&r1=1228834&r2=1228835&view=diff
==============================================================================
--- abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java (original)
+++ abdera/abdera2/test/src/main/java/org/apache/abdera2/test/common/misc/MiscTest.java Sun
Jan  8 12:51:22 2012
@@ -72,8 +72,9 @@ public class MiscTest {
   @Test
   public void arrayBuilderTest() {
     //Set array builder (no duplicates)
+	ArrayBuilder<String> ab = ArrayBuilder.set(String.class);
     String[] array = 
-      ArrayBuilder.set(String.class)
+    	ab      
         .add("a")
         .add("a")
         .add("b")
@@ -85,8 +86,9 @@ public class MiscTest {
     assertEquals("c", array[2]);
     
     //List array (duplicates)
+    ab = ArrayBuilder.list(String.class);
     array = 
-      ArrayBuilder.list(String.class)
+    	ab
         .add("a")
         .add("a")
         .add("b")



Mime
View raw message