Commit 5e913979 authored by Benedikt Kleinmeier's avatar Benedikt Kleinmeier
Browse files

Added comments to "VadereConfig.java"

parent 54848803
......@@ -48,7 +48,8 @@ public class VadereConfig {
private static final String DEFAULT_CONFIG_DIR = ".config";
// Both variables must not be "final" so that we are able
// to inject another config file from CLI argument "--config-file myconfig.conf".
// to inject another config file from CLI argument "--config-file myconfig.conf"
// via static method "setConfigPath()".
private static String CONFIG_FILENAME = "vadere.conf";
private static Path CONFIG_PATH = Path.of(DEFAULT_HOME_DIR, DEFAULT_CONFIG_DIR, CONFIG_FILENAME);
......@@ -208,7 +209,7 @@ public class VadereConfig {
CONFIG_FILENAME = CONFIG_PATH.getFileName().toString();
}
// Static setters
// Static getters
/**
* Use Apache Common Configuration API on the returned object to retrieve Vadere's config
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment