abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r1228726 - /abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java
Date Sat, 07 Jan 2012 20:53:27 GMT
Author: antelder
Date: Sat Jan  7 20:53:26 2012
New Revision: 1228726

URL: http://svn.apache.org/viewvc?rev=1228726&view=rev
Log:
Fix Maven build by split into seperate statements. Not sure why but the Java compiler runing
in Maven gets a compiler as it is with a single statement

Modified:
    abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java

Modified: abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java
URL: http://svn.apache.org/viewvc/abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java?rev=1228726&r1=1228725&r2=1228726&view=diff
==============================================================================
--- abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java (original)
+++ abdera/abdera2/common/src/main/java/org/apache/abdera2/common/lang/SubtagSet.java Sat
Jan  7 20:53:26 2012
@@ -144,8 +144,8 @@ public abstract class SubtagSet 
     }
 
     public Subtag[] toArray() {
-      return ArrayBuilder.list(Subtag.class)
-        .addAll(this).build();
+      ArrayBuilder<Subtag> b = ArrayBuilder.list(Subtag.class);
+      return b.addAll(this).build();
     }
 
     public List<Subtag> asList() {



Mime
View raw message