1
0
Fork 0

Added fix for community of arbitrary name length

This commit is contained in:
Miriam Baglioni 2021-07-13 16:18:35 +02:00
parent 5295d10691
commit 72397ea1ba
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ public class DumpProducts implements Serializable {
return c.getId();
}
if (c.getId().contains("::") && communities.contains(c.getId().substring(0, c.getId().indexOf("::")))) {
return c.getId().substring(0, 3);
return c.getId().substring(0, c.getId().indexOf("::"));
}
return null;
}).filter(Objects::nonNull).collect(Collectors.toList());