From fad8cdd989a648d1e53923f14bf520494284f4d5 Mon Sep 17 00:00:00 2001 From: Alex Rudyy Date: Mon, 18 Feb 2013 13:08:28 +0000 Subject: QPID-4390: Remove unused methods from BrokerTestHelper git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/java-broker-config-qpid-4390@1447238 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/qpid/server/util/BrokerTestHelper.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java index f510dcba4a..3be8927224 100644 --- a/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/util/BrokerTestHelper.java @@ -36,7 +36,6 @@ import org.apache.qpid.framing.BasicContentHeaderProperties; 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; - } } -- cgit v1.2.1