Fix reading parameters from subsections during init step

The get method did not correctly pass the subsection parameter. This is
fixed now. The set method correctly writes values to subsections.

Change-Id: Id6e38c7ca9fe056422a5db828e7e16d26a32a6ef
Signed-off-by: Stefan Lay <stefan.lay@sap.com>
This commit is contained in:
Stefan Lay 2014-07-15 16:23:00 +02:00
parent b8aae411a8
commit b0f0007dd1

View File

@ -51,7 +51,7 @@ public class Section {
}
String get(String name) {
return flags.cfg.getString(section, null, name);
return flags.cfg.getString(section, subsection, name);
}
public void set(final String name, final String value) {