From 20eafd2a5278850b3545d031b30ee67292daadb3 Mon Sep 17 00:00:00 2001 From: dstmath Date: Mon, 21 Dec 2015 09:48:49 +0800 Subject: [PATCH] Update Luyten for Procyon --- src/us/deathmarine/luyten/ConfigSaver.java | 4 ++-- src/us/deathmarine/luyten/FileSaver.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/us/deathmarine/luyten/ConfigSaver.java b/src/us/deathmarine/luyten/ConfigSaver.java index 2c21ad7..a6dfded 100644 --- a/src/us/deathmarine/luyten/ConfigSaver.java +++ b/src/us/deathmarine/luyten/ConfigSaver.java @@ -57,8 +57,8 @@ public static ConfigSaver getLoadedInstance() { */ private void loadConfig() { decompilerSettings = new DecompilerSettings(); - if (decompilerSettings.getFormattingOptions() == null) { - decompilerSettings.setFormattingOptions(JavaFormattingOptions.createDefault()); + if (decompilerSettings.getJavaFormattingOptions() == null) { + decompilerSettings.setJavaFormattingOptions(JavaFormattingOptions.createDefault()); } luytenPreferences = new LuytenPreferences(); mainWindowPosition = new WindowPosition(); diff --git a/src/us/deathmarine/luyten/FileSaver.java b/src/us/deathmarine/luyten/FileSaver.java index cfe3c91..5dc4949 100644 --- a/src/us/deathmarine/luyten/FileSaver.java +++ b/src/us/deathmarine/luyten/FileSaver.java @@ -272,8 +272,8 @@ private void doSaveUnknownFile(File inFile, File outFile) throws Exception { private DecompilerSettings cloneSettings() { DecompilerSettings settings = ConfigSaver.getLoadedInstance().getDecompilerSettings(); DecompilerSettings newSettings = new DecompilerSettings(); - if (newSettings.getFormattingOptions() == null) { - newSettings.setFormattingOptions(JavaFormattingOptions.createDefault()); + if (newSettings.getJavaFormattingOptions() == null) { + newSettings.setJavaFormattingOptions(JavaFormattingOptions.createDefault()); } // synchronized: against main menu changes synchronized (settings) {