ARTEMIS-2200 NPE fix

This was a typo on my last commit around ARTEMIS-2200
This commit is contained in:
Clebert Suconic 2019-01-17 21:51:24 -05:00
parent 516ca81093
commit 05d893036e
1 changed files with 0 additions and 1 deletions

View File

@ -963,7 +963,6 @@ public class JournalImpl extends JournalBase implements TestableJournal, Journal
// record==null here could only mean there is a compactor // record==null here could only mean there is a compactor
// computing the delete should be done after compacting is done // computing the delete should be done after compacting is done
if (record == null) { if (record == null) {
compactor.addCommandDelete(id, usedFile);
// JournalImplTestUni::testDoubleDelete was written to validate this condition: // JournalImplTestUni::testDoubleDelete was written to validate this condition:
if (compactor == null) { if (compactor == null) {
logger.debug("Record " + id + " had been deleted already from a different call"); logger.debug("Record " + id + " had been deleted already from a different call");