Graph model footprint optimisation #23

Open
claudio.atzori wants to merge 16 commits from ticket_8369 into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 29c61bb283 - Show all commits

View File

@ -33,7 +33,7 @@ public class StructuredProperty implements Serializable {
public String toComparableString() {
return Stream
.of(
getQualifier().toComparableString(),
Optional.ofNullable(getQualifier()).map(q -> q.toComparableString()).orElse(""),
Optional.ofNullable(getValue()).map(String::toLowerCase).orElse(""))
.filter(StringUtils::isNotBlank)
.collect(Collectors.joining("||"));