activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1245939 - /activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala
Date Sat, 18 Feb 2012 15:06:34 GMT
Author: chirino
Date: Sat Feb 18 15:06:34 2012
New Revision: 1245939

URL: http://svn.apache.org/viewvc?rev=1245939&view=rev
Log:
Make sure the Snappy impl class can be fully resolved before picking the impl winner

Modified:
    activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala

Modified: activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala?rev=1245939&r1=1245938&r2=1245939&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-leveldb/src/main/scala/org/apache/activemq/apollo/broker/store/SnappyTrait.scala
Sat Feb 18 15:06:34 2012
@@ -51,8 +51,10 @@ package object leveldb  {
               case _ => name
             }
             attempt = Thread.currentThread().getContextClassLoader().loadClass(name).newInstance().asInstanceOf[SnappyTrait];
+            attempt.compress("test")
         } catch {
           case _ =>
+            attempt = null
         }
       }
     }



Mime
View raw message