abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r1209300 - /abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java
Date Thu, 01 Dec 2011 23:12:06 GMT
Author: jmsnell
Date: Thu Dec  1 23:12:05 2011
New Revision: 1209300

URL: http://svn.apache.org/viewvc?rev=1209300&view=rev
Log:
quick optimization

Modified:
    abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java

Modified: abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java
URL: http://svn.apache.org/viewvc/abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java?rev=1209300&r1=1209299&r2=1209300&view=diff
==============================================================================
--- abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java
(original)
+++ abdera/abdera2/activities/src/main/java/org/apache/abdera2/activities/model/ASBase.java
Thu Dec  1 23:12:05 2011
@@ -67,6 +67,13 @@ public class ASBase 
     return new ASBuilder();
   }
   
+  public static ASBuilder make(boolean experimental) {
+    ASBuilder builder = make();
+    return experimental ?
+      builder.experimental() :
+      builder;
+  }
+  
   public static class ASBuilder extends Builder<ASBase,ASBuilder> {
     public ASBuilder() {
       super(ASBase.class,ASBuilder.class);



Mime
View raw message