Update server/src/main/java/com/orientechnologies/orient/server/journal/ODatabaseJournal.java

For issue : https://github.com/nuvolabase/orientdb/issues/1304