broker/test/IntegrationUtils: code formatter used
This commit is contained in:
@@ -13,13 +13,12 @@
|
|||||||
*
|
*
|
||||||
* You may elect to redistribute this code under either of these licenses.
|
* You may elect to redistribute this code under either of these licenses.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package io.moquette.server;
|
package io.moquette.server;
|
||||||
|
|
||||||
import io.moquette.server.config.IConfig;
|
import io.moquette.server.config.IConfig;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import static io.moquette.BrokerConstants.DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME;
|
import static io.moquette.BrokerConstants.DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME;
|
||||||
import static io.moquette.BrokerConstants.PERSISTENT_STORE_PROPERTY_NAME;
|
import static io.moquette.BrokerConstants.PERSISTENT_STORE_PROPERTY_NAME;
|
||||||
import static io.moquette.BrokerConstants.PORT_PROPERTY_NAME;
|
import static io.moquette.BrokerConstants.PORT_PROPERTY_NAME;
|
||||||
@@ -31,6 +30,7 @@ import static org.junit.Assert.assertFalse;
|
|||||||
* Created by andrea on 4/7/15.
|
* Created by andrea on 4/7/15.
|
||||||
*/
|
*/
|
||||||
public class IntegrationUtils {
|
public class IntegrationUtils {
|
||||||
|
|
||||||
static String localMapDBPath() {
|
static String localMapDBPath() {
|
||||||
String currentDir = System.getProperty("user.dir");
|
String currentDir = System.getProperty("user.dir");
|
||||||
return currentDir + File.separator + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME;
|
return currentDir + File.separator + DEFAULT_MOQUETTE_STORE_MAP_DB_FILENAME;
|
||||||
|
|||||||
Reference in New Issue
Block a user