Change-Id: I86f6359d955d39ab033848b87ed39d20378d3c1f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
* The configuration file entry
*/
private static class Entry {
+
/**
* The text content before entry
*/
return false;
return a.equals(b);
}
+
+ @Override
+ public String toString() {
+ if (section == null)
+ return "<empty>";
+ StringBuilder b = new StringBuilder(section);
+ if (subsection != null)
+ b.append(".").append(subsection);
+ if (name != null)
+ b.append(".").append(name);
+ if (value != null)
+ b.append("=").append(value);
+ return b.toString();
+ }
}
private static class StringReader {