summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-09-28 07:54:53 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-09-28 07:54:53 -0400
commitba0a3f53a88842a94ea6a1a6d45f61416b593e47 (patch)
tree4a528eea60842d5f73bf243653bd6ff7424d153b /BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
parent387febf2477ce0fab627ef2d163ffbf36741ab0e (diff)
Update various things.
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 b4c6d73..010de5f 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/gui/SimpleFileChooser.java
@@ -31,7 +31,7 @@ public class SimpleFileChooser {
maybeDoOpenFile(parent, files);
success = true;
- } catch (@SuppressWarnings("unused") FileNotChosenException fncx) {
+ } catch (FileNotChosenException fncx) {
// We don't care about specifics
SimpleDialogs.showError(parent, "I/O Error",
"Please pick a file to open");
@@ -56,7 +56,7 @@ public class SimpleFileChooser {
maybeDoSaveFile(parent, files);
return files.getSelectedFile();
- } catch (@SuppressWarnings("unused") FileNotChosenException fncex) {
+ } catch (FileNotChosenException fncex) {
// We don't care about specifics
SimpleDialogs.showError(parent, "I/O Error",
"Please pick a file to save to");
@@ -189,7 +189,7 @@ public class SimpleFileChooser {
try {
maybeDoOpenFile(parent, files);
- } catch (@SuppressWarnings("unused") FileNotChosenException fncex) {
+ } catch (FileNotChosenException fncex) {
// We don't care about specifics
}
@@ -215,7 +215,7 @@ public class SimpleFileChooser {
try {
maybeDoSaveFile(parent, files);
- } catch (@SuppressWarnings("unused") FileNotChosenException fncex) {
+ } catch (FileNotChosenException fncex) {
// We don't care about specifics
}