incubator-droids-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1421797 - in /incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core: AbstractDroid.java Droid.java
Date Fri, 14 Dec 2012 10:53:38 GMT
Author: tobr
Date: Fri Dec 14 10:53:36 2012
New Revision: 1421797

URL: http://svn.apache.org/viewvc?rev=1421797&view=rev
Log:
added tests to show how easy it is to use droids

Modified:
    incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
    incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java

Modified: incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java?rev=1421797&r1=1421796&r2=1421797&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/AbstractDroid.java
Fri Dec 14 10:53:36 2012
@@ -85,33 +85,27 @@ public abstract class AbstractDroid<T ex
         return this.filterFactory.filter(task);
     }
 
-    @Override
     public void addParsers(Parser... parsers) {
         for (Parser parser : parsers) {
             this.parserFactory.addParser(parser);
         }
     }
 
-    @Override
     public void addProtocols(Protocol... protocols) {
         for (Protocol protocol : protocols) {
             this.protocolFactory.addProtocol(protocol);
         }
     }
 
-    @Override
     public void addHandlers(Handler... handlers) {
         for (Handler handler : handlers) {
             this.handlerFactory.addHandler(handler);
         }
     }
 
-    @Override
     public void addFilters(Filter<T>... filters) {
         for (Filter<T> filter : filters) {
             this.filterFactory.addFilter(filter);
         }
     }
-
-
-}
+}
\ No newline at end of file

Modified: incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
URL: http://svn.apache.org/viewvc/incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java?rev=1421797&r1=1421796&r2=1421797&view=diff
==============================================================================
--- incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
(original)
+++ incubator/droids/branches/0.2.x-cleanup/droids-core/src/main/java/org/apache/droids/core/Droid.java
Fri Dec 14 10:53:36 2012
@@ -55,14 +55,6 @@ public interface Droid<T extends Task> {
      */
     public Worker<T> getNewWorker();
 
-    public void addParsers(Parser... parsers);
-
-    public void addProtocols(Protocol... protocols);
-
-    public void addHandlers(Handler... handlers);
-
-    public void addFilters(Filter<T>... filters);
-
     /**
      * Parse the task
      *



Mime
View raw message