From d2af58b0f68ebfbba2be7e7679efec6c8c0af12f Mon Sep 17 00:00:00 2001 From: bculkin2442 Date: Thu, 9 Feb 2017 11:50:31 -0500 Subject: Update --- BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java') diff --git a/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java b/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java index 010de5f..ae77e41 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java +++ b/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java @@ -147,9 +147,9 @@ public class SimpleFileChooser { "File chooser must not be null"); } - int dialogResult = files.showSaveDialog(parent); + int result = files.showSaveDialog(parent); - if (dialogResult != JFileChooser.APPROVE_OPTION) { + if (result != JFileChooser.APPROVE_OPTION) { throw new FileNotChosenException(); } } @@ -163,9 +163,9 @@ public class SimpleFileChooser { "File chooser must not be null"); } - int dialogResult = files.showSaveDialog(parent); + int result = files.showSaveDialog(parent); - if (dialogResult != JFileChooser.APPROVE_OPTION) { + if (result != JFileChooser.APPROVE_OPTION) { throw new FileNotChosenException(); } } -- cgit v1.2.3