abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r614077 - /incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java
Date Tue, 22 Jan 2008 00:55:46 GMT
Author: jmsnell
Date: Mon Jan 21 16:55:44 2008
New Revision: 614077

URL: http://svn.apache.org/viewvc?rev=614077&view=rev
Log:
removing something I had been using for testing

Modified:
    incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java

Modified: incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java?rev=614077&r1=614076&r2=614077&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/RegexTargetResolver.java
Mon Jan 21 16:55:44 2008
@@ -84,17 +84,10 @@
     String pattern, 
     TargetType type, 
     String... fields) {
-      _setPattern(pattern,type,fields);
-      return this;
-  }
-  
-  protected void _setPattern(
-    String pattern, 
-    TargetType type, 
-    String[] fields) {
       Pattern p = Pattern.compile(pattern);
       this.patterns.put(p,type);
-      this.fields.put(p,fields);    
+      this.fields.put(p,fields);
+      return this;
   }
   
   public Target resolve(Request request) {



Mime
View raw message