summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2017-02-09 11:50:31 -0500
committerbculkin2442 <bjculkin@mix.wvu.edu>2017-02-09 11:50:31 -0500
commitd2af58b0f68ebfbba2be7e7679efec6c8c0af12f (patch)
tree2b16fbf014db350126e8c1b5f081312276f85f62 /BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
parent187e1815488e3c1ed22e7592f304e632cffefb82 (diff)
Update
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java')
-rw-r--r--BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java8
1 files changed, 4 insertions, 4 deletions
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();
}
}