directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r169284 - in /directory/network/branches/api_integration/src: java/org/apache/mina/common/ByteBuffer.java test/org/apache/mina/common/IoFilterChainTest.java
Date Mon, 09 May 2005 11:23:01 GMT
Author: trustin
Date: Mon May  9 04:22:59 2005
New Revision: 169284

URL: http://svn.apache.org/viewcvs?rev=169284&view=rev
Log:
* Fixed broken tests
* Removed System.outs

Modified:
    directory/network/branches/api_integration/src/java/org/apache/mina/common/ByteBuffer.java
    directory/network/branches/api_integration/src/test/org/apache/mina/common/IoFilterChainTest.java

Modified: directory/network/branches/api_integration/src/java/org/apache/mina/common/ByteBuffer.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/api_integration/src/java/org/apache/mina/common/ByteBuffer.java?rev=169284&r1=169283&r2=169284&view=diff
==============================================================================
--- directory/network/branches/api_integration/src/java/org/apache/mina/common/ByteBuffer.java
(original)
+++ directory/network/branches/api_integration/src/java/org/apache/mina/common/ByteBuffer.java
Mon May  9 04:22:59 2005
@@ -529,7 +529,6 @@
 
         private synchronized void init( java.nio.ByteBuffer buf )
         {
-            System.out.println("INIT: " + System.identityHashCode( this ) );
             this.buf = buf;
             buf.clear();
             buf.order( ByteOrder.BIG_ENDIAN );
@@ -539,7 +538,6 @@
         
         public synchronized void acquire()
         {
-            System.out.println("ACQUIRE: " + System.identityHashCode( this ) + ' ' + this
);
             if( refCount <= 0 )
             {
                 throw new IllegalStateException( "Already released buffer." );
@@ -550,7 +548,6 @@
 
         public void release()
         {
-            System.out.println("RELEASE: " + System.identityHashCode( this ) );
             synchronized( this )
             {
                 if( refCount <= 0 )

Modified: directory/network/branches/api_integration/src/test/org/apache/mina/common/IoFilterChainTest.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/api_integration/src/test/org/apache/mina/common/IoFilterChainTest.java?rev=169284&r1=169283&r2=169284&view=diff
==============================================================================
--- directory/network/branches/api_integration/src/test/org/apache/mina/common/IoFilterChainTest.java
(original)
+++ directory/network/branches/api_integration/src/test/org/apache/mina/common/IoFilterChainTest.java
Mon May  9 04:22:59 2005
@@ -23,9 +23,6 @@
 import junit.framework.Assert;
 import junit.framework.TestCase;
 
-import org.apache.mina.filter.codec.ProtocolDecoder;
-import org.apache.mina.filter.codec.ProtocolEncoder;
-
 /**
  * Tests {@link AbstractProtocolFilterChain}.
  * 
@@ -136,14 +133,6 @@
             return handler;
         }
 
-        public ProtocolEncoder getEncoder() {
-            return null;
-        }
-
-        public ProtocolDecoder getDecoder() {
-            return null;
-        }
-
         public void close( boolean wait ) {
         }
 
@@ -151,7 +140,7 @@
         }
 
         public TransportType getTransportType() {
-            return null;
+            return TransportType.VM_PIPE;
         }
 
         public boolean isConnected() {



Mime
View raw message