mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix ComponentVersionProcessingTest
This commit is contained in:
+6
-3
@@ -954,9 +954,7 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void saveSettings() {
|
||||
if (myDoNotSave || isUnitTestMode() || isHeadlessEnvironment()) return;
|
||||
public void _saveSettings() { // for testing purposes
|
||||
if (mySaveSettingsIsInProgress.compareAndSet(false, true)) {
|
||||
try {
|
||||
doSave();
|
||||
@@ -994,6 +992,11 @@ public class ApplicationImpl extends ComponentManagerImpl implements Application
|
||||
}
|
||||
}
|
||||
|
||||
public void saveSettings() {
|
||||
if (myDoNotSave || isUnitTestMode() || isHeadlessEnvironment()) return;
|
||||
_saveSettings();
|
||||
}
|
||||
|
||||
public void saveAll() {
|
||||
if (myDoNotSave || isUnitTestMode() || isHeadlessEnvironment()) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user