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

Changes to resolve merge discussions.

parent 615f58ec
No related branches found
No related tags found
1 merge request!33Feat/bar chart update 46
......@@ -171,14 +171,12 @@ public final class App {
// Config Parsing
URL configPath;
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");
//mLogger.warn("ATTENTION! Using default specific config from resources. Please remove default config behavior before packaging the jar.");
throw new RuntimeException("Please pass -p in run configuration.");
configPath = getClass().getResource("/config/index_everest_d_v4.properties");
mLogger.warn("ATTENTION! Using default specific config from resources. Please remove default config behavior before packaging the jar.");
} else {
File configFile = new File(settingsReader.getSetting(SettingType.PRINTER_CONFIG_PATH).get());
configPath = configFile.toURL();
}
//else {
File configFile = new File(settingsReader.getSetting(SettingType.PRINTER_CONFIG_PATH).get());
configPath = configFile.toURL();
//}
JavaPropertiesConfigurationParser configParser = new JavaPropertiesConfigurationParser(configPath, getClass().getClassLoader().getResource("config/default.properties"));
Printer indexV4Printer = configParser.getPrinter();
......
......@@ -150,12 +150,8 @@ public abstract class ConfigurationParser {
* This method should be called inside the concrete parsers constructor.
*
* @param defaultPrinter A {@link Printer} object containing the default properties or null for no default to be set.
<<<<<<< HEAD
* @param defaultRepresentation A {@link Representation} object containing the default properties or null for no default to be set.
* @param defaultFormat A {@link Format} object containing the default properties or null for no default to be set.
=======
* @param defaultFormat A {@link Format} object containing the default properties or null for no default to be set.
>>>>>>> origin/master
*/
protected final void setDefaults(final Printer defaultPrinter, final Representation defaultRepresentation, final Format defaultFormat) {
mDefaultPrinter = defaultPrinter;
......
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