diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-07 13:29:21 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-07 13:29:21 +0200 |
commit | 8610371549aacedf5dc7bf7435a401b410e1ffef (patch) | |
tree | f0bfab43554cb6949c4b2cd4f105798c352bcec8 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java | |
parent | 3c1e373f9fdf83da4b2083101c77a664ea756091 (diff) | |
download | pdf-over-8610371549aacedf5dc7bf7435a401b410e1ffef.tar.gz pdf-over-8610371549aacedf5dc7bf7435a401b410e1ffef.tar.bz2 pdf-over-8610371549aacedf5dc7bf7435a401b410e1ffef.zip |
don't try to read a resource file that doesn't exist
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java index 386f4763..2dfe879b 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java @@ -293,7 +293,7 @@ public class ConfigProviderImpl { /* save to file */ public void saveCurrentConfiguration() throws IOException { - String filename = this.getConfigurationFile(); + String filename = this.getConfigurationFileName(); File configFile = new File(this.getConfigurationDirectory() + File.separator + filename); Properties props = new Properties(); @@ -409,8 +409,8 @@ public class ConfigProviderImpl { public String getConfigurationDirectory() { return Constants.CONFIG_DIRECTORY; } // TODO review this - public void setConfigurationFile(String configurationFile) { this.configurationFile = configurationFile; } - public String getConfigurationFile() { return this.configurationFile; } + public void setConfigurationFileName(String configurationFile) { this.configurationFile = configurationFile; } + public String getConfigurationFileName() { return this.configurationFile; } public void setDefaultBKU(BKUs bku) { this.configuration.defaultBKU = bku; |