abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r442264 - in /incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server: target/Target.java util/RegexTargetResolver.java
Date Mon, 11 Sep 2006 17:18:08 GMT
Author: jmsnell
Date: Mon Sep 11 10:18:07 2006
New Revision: 442264

URL: http://svn.apache.org/viewvc?view=rev&rev=442264
Log:
Make target cloneable

Modified:
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/target/Target.java
    incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/util/RegexTargetResolver.java

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/target/Target.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/target/Target.java?view=diff&rev=442264&r1=442263&r2=442264
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/target/Target.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/target/Target.java
Mon Sep 11 10:18:07 2006
@@ -23,7 +23,8 @@
 
 public interface Target 
   extends Iterable<String>, 
-          Serializable {
+          Serializable,
+          Cloneable {
 
   ResourceType getResourceType();
   
@@ -39,4 +40,5 @@
    */
   boolean hasValue(int index);
   
+  Object clone() throws CloneNotSupportedException;
 }

Modified: incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/util/RegexTargetResolver.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/util/RegexTargetResolver.java?view=diff&rev=442264&r1=442263&r2=442264
==============================================================================
--- incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/util/RegexTargetResolver.java
(original)
+++ incubator/abdera/java/trunk/server/src/main/java/org/apache/abdera/protocol/server/util/RegexTargetResolver.java
Mon Sep 11 10:18:07 2006
@@ -194,6 +194,10 @@
       }
       return buf.toString();
     }
+    
+    public Object clone() throws CloneNotSupportedException {
+      return super.clone();
+    }
   }
   
 }



Mime
View raw message