Minor change
This commit is contained in:
@@ -81,8 +81,8 @@ public class MapDBPersistentStore implements IMessagesStore, ISessionsStore {
|
|||||||
File tmpFile;
|
File tmpFile;
|
||||||
try {
|
try {
|
||||||
tmpFile = new File(m_storePath);
|
tmpFile = new File(m_storePath);
|
||||||
boolean fileAlreadyExists = tmpFile.createNewFile();
|
boolean fileNewlyCreated = tmpFile.createNewFile();
|
||||||
if (fileAlreadyExists) {
|
if (!fileNewlyCreated) {
|
||||||
LOG.warn("File [{}] already exists", m_storePath);
|
LOG.warn("File [{}] already exists", m_storePath);
|
||||||
}
|
}
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
|
|||||||
Reference in New Issue
Block a user