Fixed ConfigurationNode.
This commit is contained in:
parent
9dc81aa65a
commit
c3f0062862
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ public class ConfigurationNode implements Map<String, Object> {
|
|||
int separator = path.indexOf('/');
|
||||
if (separator < 0)
|
||||
return get(path);
|
||||
String localKey = path.substring(0, separator - 1);
|
||||
String localKey = path.substring(0, separator);
|
||||
Object subvalue = get(localKey);
|
||||
if (subvalue == null)
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue