void () { if (!IS_UNIT_TEST_MODE && !PowerSaveMode.isEnabled()) { if (LOG.isDebugEnabled()) { LOG.debug("Automake canceled; reason: project save scheduled"); } myAutoMakeTask.cancelPendingExecution(); myDocumentSaveTask.schedule(); } }