directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r354258 - in /directory/network/trunk/src/java/org/apache/mina/handler/chain: Chain.java ChainBase.java
Date Tue, 06 Dec 2005 01:48:29 GMT
Author: trustin
Date: Mon Dec  5 17:48:25 2005
New Revision: 354258

URL: http://svn.apache.org/viewcvs?rev=354258&view=rev
Log:
Replaced Chain with ChainBase for simplicity

Added:
    directory/network/trunk/src/java/org/apache/mina/handler/chain/Chain.java
      - copied, changed from r354255, directory/network/trunk/src/java/org/apache/mina/handler/chain/ChainBase.java
Removed:
    directory/network/trunk/src/java/org/apache/mina/handler/chain/ChainBase.java

Copied: directory/network/trunk/src/java/org/apache/mina/handler/chain/Chain.java (from r354255,
directory/network/trunk/src/java/org/apache/mina/handler/chain/ChainBase.java)
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/chain/Chain.java?p2=directory/network/trunk/src/java/org/apache/mina/handler/chain/Chain.java&p1=directory/network/trunk/src/java/org/apache/mina/handler/chain/ChainBase.java&r1=354255&r2=354258&rev=354258&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/chain/ChainBase.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/chain/Chain.java Mon Dec  5 17:48:25
2005
@@ -22,7 +22,6 @@
 import org.apache.mina.common.IoSession;
 import org.apache.mina.handler.chain.Chain;
 import org.apache.mina.handler.chain.Command;
-import org.apache.mina.handler.chain.Context;
 import org.apache.mina.handler.chain.Filter;
 
 /**
@@ -42,7 +41,7 @@
  *
  * <p>To protect applications from evolution of this interface, specialized
  * implementations of {@link Chain} should generally be created by extending
- * the provided base class {@link org.apache.mina.handler.chain.impl.ChainBase})
+ * the provided base class {@link org.apache.mina.handler.chain.impl.Chain})
  * rather than directly implementing this interface.</p>
  *
  * <p>{@link Chain} implementations should be designed in a thread-safe
@@ -61,14 +60,14 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public class ChainBase implements Command
+public class Chain implements Command
 {
     // ----------------------------------------------------------- Constructors
 
     /**
      * <p>Construct a {@link Chain} with no configured {@link Command}s.</p>
      */
-    public ChainBase()
+    public Chain()
     {
 
     }
@@ -82,7 +81,7 @@
      * @exception IllegalArgumentException if <code>command</code>
      *  is <code>null</code>
      */
-    public ChainBase( Command command )
+    public Chain( Command command )
     {
         addCommand( command );
     }
@@ -97,7 +96,7 @@
      *  or one of the individual {@link Command} elements,
      *  is <code>null</code>
      */
-    public ChainBase( Command[] commands )
+    public Chain( Command[] commands )
     {
         if ( commands == null )
         {
@@ -120,7 +119,7 @@
      *  or one of the individual {@link Command} elements,
      *  is <code>null</code>
      */
-    public ChainBase( Collection commands )
+    public Chain( Collection commands )
     {
         if ( commands == null )
         {



Mime
View raw message