directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r123330 - /incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java
Date Sat, 25 Dec 2004 08:05:52 GMT
Author: trustin
Date: Sat Dec 25 00:05:51 2004
New Revision: 123330

URL: http://svn.apache.org/viewcvs?view=rev&rev=123330
Log:
Oops, I forgot to remove one useless synchronization block.
Modified:
   incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java
Url: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java?view=diff&rev=123330&p1=incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java&r1=123329&p2=incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java&r2=123330
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/filter/IoThreadPoolFilter.java
Sat Dec 25 00:05:51 2004
@@ -387,14 +387,7 @@
         {
             if( type == EventType.READ )
             {
-                ByteBuffer buf = ( ByteBuffer ) data;
-                synchronized( buf )
-                {
-                    if (buf.hasRemaining())
-                    {
-                        nextHandler.dataRead( session, buf );
-                    }
-                }
+                nextHandler.dataRead( session, (ByteBuffer) data );
             }
             else if( type == EventType.WRITTEN )
             {

Mime
View raw message