[ SEARCH-1702 ] Fix APATH E2E

This commit is contained in:
agazzarini
2020-01-21 09:07:10 +01:00
parent edeba93cd6
commit 5d3d3baeb6

View File

@@ -3177,9 +3177,7 @@ public class SolrInformationServer implements InformationServer
stream(notNullOrEmpty(ancestorPath.length() > 0 && ancestorPath.startsWith("/") stream(notNullOrEmpty(ancestorPath.length() > 0 && ancestorPath.startsWith("/")
? ancestorPath.substring(1).split("/") ? ancestorPath.substring(1).split("/")
: ancestorPath.split("/"))) : ancestorPath.split("/")))
.filter(Objects::nonNull)
.map(String::trim) .map(String::trim)
.filter(value -> !value.isEmpty())
.toArray(String[]::new); .toArray(String[]::new);
StringBuilder builder = new StringBuilder(); StringBuilder builder = new StringBuilder();