Moving hard coded strings to constants

Adding more hard coded strings to the constants.  I am not really sure
why there are 2 constants java classes either.
This commit is contained in:
swarwick
2015-03-14 16:37:55 +01:00
committed by andrea
parent 6cc5b0edb9
commit d7f2493811
7 changed files with 25 additions and 26 deletions
@@ -41,15 +41,10 @@ public class ServerRestartIntegrationTest {
MQTT m_mqtt;
BlockingConnection m_subscriber;
BlockingConnection m_publisher;
Properties properties;
private final static String PERSISTENT_STORE_PROPERTY_NAME = "persistent_store";
private final static String PERSISTENT_STORE_FILE_NAME = System.getProperty("user.home") + File.separator + "moquette_store.mapdb";
protected void startServer() throws IOException {
properties = new Properties();
properties.put(PERSISTENT_STORE_PROPERTY_NAME, PERSISTENT_STORE_FILE_NAME);
m_server = new Server();
m_server.startServer(properties);
m_server.startServer(new Properties());
}
@Before