Minor change

This commit is contained in:
andsel
2015-09-29 21:44:35 +02:00
parent a697e77e6c
commit 9effc1edb5
@@ -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) {