activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1407589 - /activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
Date Fri, 09 Nov 2012 18:47:39 GMT
Author: chirino
Date: Fri Nov  9 18:47:38 2012
New Revision: 1407589

URL: http://svn.apache.org/viewvc?rev=1407589&view=rev
Log:
Default the directory setting on the LevelDB store to avoid test failure in AMQ2580Test.

Modified:
    activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala

Modified: activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala?rev=1407589&r1=1407588&r2=1407589&view=diff
==============================================================================
--- activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
(original)
+++ activemq/trunk/activemq-leveldb-store/src/main/scala/org/apache/activemq/leveldb/LevelDBStore.scala
Fri Nov  9 18:47:38 2012
@@ -38,7 +38,8 @@ import org.apache.activemq.util._
 import org.apache.activemq.leveldb.util.{RetrySupport, FileSupport, Log}
 
 object LevelDBStore extends Log {
-  
+  val DEFAULT_DIRECTORY = new File("LevelDB");
+
   val DONE = new CountDownFuture();
   DONE.countDown
   
@@ -118,7 +119,7 @@ class LevelDBStore extends ServiceSuppor
   final val db = new DBManager(this)
 
   @BeanProperty
-  var directory: File = null
+  var directory = DEFAULT_DIRECTORY
   @BeanProperty
   var logDirectory: File = null
   



Mime
View raw message