Skip to content
Snippets Groups Projects
Commit 52bc7f55 authored by Leonard Kupper's avatar Leonard Kupper
Browse files

Remove obsolete comment / debug output.

parent 6693f96b
No related branches found
No related tags found
1 merge request!28Bug/jar resource handling 49
...@@ -171,26 +171,12 @@ public final class App { ...@@ -171,26 +171,12 @@ public final class App {
// Config Parsing // Config Parsing
String configPath; String configPath;
if (!settingsReader.isPresent(SettingType.PRINTER_CONFIG_PATH)) { // TODO: exception if missing this argument if (!settingsReader.isPresent(SettingType.PRINTER_CONFIG_PATH)) { // TODO: exception if missing this argument, until then use default location for test runs
configPath = getClass().getResource("/config/index_everest_d_v4.properties").getFile(); configPath = getClass().getResource("/config/index_everest_d_v4.properties").getFile();
mLogger.info("Using default file: " + configPath);
if (!(new File(configPath)).isFile()) {
mLogger.info("Does not exist!");
}
} else { } else {
configPath = settingsReader.getSetting(SettingType.PRINTER_CONFIG_PATH).get(); configPath = settingsReader.getSetting(SettingType.PRINTER_CONFIG_PATH).get();
} }
/*
GeneralResource testResource = new GeneralResource("/config/default.properties");
if (testResource.isValidExternalFile()) {
File testFile = testResource.asValidExternalFile();
} else {
InputStream testStream = testResource.getInputStream();
}
*/
JavaPropertiesConfigurationParser configParser = new JavaPropertiesConfigurationParser( JavaPropertiesConfigurationParser configParser = new JavaPropertiesConfigurationParser(
configPath, configPath,
"/config/default.properties" "/config/default.properties"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment