using true/false values in getConfig methods everywhere

This commit is contained in:
Honfika
2013-08-25 08:47:42 +02:00
parent 91eb780db3
commit 8393f063cb
6 changed files with 22 additions and 22 deletions
@@ -284,7 +284,7 @@ public class ActionPanel extends JPanel implements ActionListener {
@Override
public void run() {
editor.setText("; " + translate("work.disassembling") + "...");
if (Configuration.getConfig("decompile", Boolean.TRUE)) {
if (Configuration.getConfig("decompile", true)) {
decompiledEditor.setText("//" + translate("work.waitingfordissasembly") + "...");
}
DisassemblyListener listener = new DisassemblyListener() {
@@ -310,7 +310,7 @@ public class ActionPanel extends JPanel implements ActionListener {
srcWithHex = Helper.hexToComments(lastDisasm);
srcNoHex = Helper.stripComments(lastDisasm);
setHex(hexButton.isSelected());
if (Configuration.getConfig("decompile", Boolean.TRUE)) {
if (Configuration.getConfig("decompile", true)) {
decompiledEditor.setText("//" + translate("work.decompiling") + "...");
String stripped = "";
if (!useCache) {