Use SchemaPath.getPathFromRoot() instead.
Change-Id: Ic7b7ede59dbe8826197e1e131be855590d0a3d98
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
return null
}
- val path = node.path.path
+ val path = node.path.pathFromRoot
val absolute = node.path.absolute;
var StringBuilder result = new StringBuilder
if (absolute) {
- result.append("/")
+ result.append('/')
}
if (path !== null && !path.empty) {
val List<QName> actual = new ArrayList()
if (!(nodeByPath instanceof ChoiceSchemaNode) && !(nodeByPath instanceof ChoiceCaseNode)) {
result.append(pathElement.localName)
if (i != path.size - 1) {
- result.append("/")
+ result.append('/')
}
}
i = i + 1