diff --git a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java index d2c3de32e..644aa0777 100644 --- a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java +++ b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java @@ -3177,9 +3177,7 @@ public class SolrInformationServer implements InformationServer stream(notNullOrEmpty(ancestorPath.length() > 0 && ancestorPath.startsWith("/") ? ancestorPath.substring(1).split("/") : ancestorPath.split("/"))) - .filter(Objects::nonNull) .map(String::trim) - .filter(value -> !value.isEmpty()) .toArray(String[]::new); StringBuilder builder = new StringBuilder();