You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2013/02/18 14:08:28 UTC

svn commit: r1447238 - /qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java

Author: orudyy
Date: Mon Feb 18 13:08:28 2013
New Revision: 1447238

URL: http://svn.apache.org/r1447238
Log:
QPID-4390: Remove unused methods from BrokerTestHelper

Modified:
    qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java

Modified: qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java
URL: http://svn.apache.org/viewvc/qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java?rev=1447238&r1=1447237&r2=1447238&view=diff
==============================================================================
--- qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java (original)
+++ qpid/branches/java-broker-config-qpid-4390/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java Mon Feb 18 13:08:28 2013
@@ -36,7 +36,6 @@ import org.apache.qpid.framing.BasicCont
 import org.apache.qpid.framing.ContentHeaderBody;
 import org.apache.qpid.framing.abstraction.MessagePublishInfo;
 import org.apache.qpid.server.AMQChannel;
-import org.apache.qpid.server.configuration.ConfigurationEntryStore;
 import org.apache.qpid.server.configuration.VirtualHostConfiguration;
 import org.apache.qpid.server.configuration.store.JsonConfigurationEntryStore;
 import org.apache.qpid.server.exchange.DefaultExchangeFactory;
@@ -206,20 +205,5 @@ public class BrokerTestHelper
         return queue;
     }
 
-    public static String getTestProfileBrokerConfigurationStoreClassName()
-    {
-        final String storeClass = System.getProperty(BROKER_STORE_CLASS_NAME_KEY);
-        return storeClass != null ? storeClass : JSON_BROKER_STORE_CLASS_NAME;
-    }
-
-    @SuppressWarnings("rawtypes")
-    public static ConfigurationEntryStore createTestProfileBrokerConfigurationStore(String storeLocation) throws Exception
-    {
-        String className = getTestProfileBrokerConfigurationStoreClassName();
-        Class classObject = Class.forName(className);
-        ConfigurationEntryStore store = (ConfigurationEntryStore)classObject.newInstance();
-        store.open(storeLocation);
-        return store;
-    }
 
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org