activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1036317 - /activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala
Date Thu, 18 Nov 2010 02:53:58 GMT
Author: chirino
Date: Thu Nov 18 02:53:58 2010
New Revision: 1036317

URL: http://svn.apache.org/viewvc?rev=1036317&view=rev
Log:
Avoid a NPE by initializing /w an empty runnable.

Modified:
    activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala

Modified: activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala?rev=1036317&r1=1036316&r2=1036317&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-broker/src/main/scala/org/apache/activemq/apollo/broker/Sink.scala
Thu Nov 18 02:53:58 2010
@@ -247,7 +247,7 @@ class Session[T](val producer_queue:Disp
   // producer serial dispatch queue
   ///////////////////////////////////////////////////
 
-  var refiller:Runnable = null
+  var refiller:Runnable = ^{}
 
   override def full = {
     assert(getCurrentQueue eq producer_queue)



Mime
View raw message