You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2011/04/27 20:20:19 UTC

svn commit: r1097194 - /activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala

Author: chirino
Date: Wed Apr 27 18:20:19 2011
New Revision: 1097194

URL: http://svn.apache.org/viewvc?rev=1097194&view=rev
Log:
Fix problem when used with the any protocol

Modified:
    activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala

Modified: activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala?rev=1097194&r1=1097193&r2=1097194&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala (original)
+++ activemq/activemq-apollo/trunk/apollo-stomp/src/main/scala/org/apache/activemq/apollo/stomp/StompCodec.scala Wed Apr 27 18:20:19 2011
@@ -315,7 +315,6 @@ class StompCodec extends ProtocolCodec {
     this.read_channel = channel
     if( this.read_channel.isInstanceOf[SocketChannel] ) {
       read_buffer_size = this.read_channel.asInstanceOf[SocketChannel].socket().getReceiveBufferSize
-      read_buffer = ByteBuffer.allocate(read_buffer_size)
     }
   }