We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a617c29 commit ee059f6Copy full SHA for ee059f6
src/main/java/mpo/dayon/common/preference/Preferences.java
@@ -59,10 +59,12 @@ public static synchronized Preferences getPreferences() {
59
try {
60
final File file = getOrCreatePreferencesFile();
61
Log.info("Preferences (" + (file.exists() ? "existing" : "new") + ") [" + file.getAbsolutePath() + "]");
62
- return preferences = setupPersister(new Preferences(file));
+ preferences = setupPersister(new Preferences(file));
63
+ return preferences;
64
} catch (IOException ex) {
65
Log.warn("Preferences get/create error!", ex);
- return preferences = NULL;
66
+ preferences = NULL;
67
68
}
69
70
0 commit comments