diff --git a/api/src/main/java/org/open4goods/api/services/aggregation/services/realtime/AttributeRealtimeAggregationService.java b/api/src/main/java/org/open4goods/api/services/aggregation/services/realtime/AttributeRealtimeAggregationService.java index e6ab6b21b..cbe65c5a4 100644 --- a/api/src/main/java/org/open4goods/api/services/aggregation/services/realtime/AttributeRealtimeAggregationService.java +++ b/api/src/main/java/org/open4goods/api/services/aggregation/services/realtime/AttributeRealtimeAggregationService.java @@ -57,7 +57,7 @@ public void onProduct(Product data, VerticalConfig vConf) throws AggregationSkip data.getAttributes().getAll().remove(e); }); - // TODO(p3,design) : Some kind of legacy bug, some attributes have to many sources. Hope this is a done bug.. + // TODO(p3,design) : Remove, this is some kind of legacy bug, some attributes have uncoherent and too many sources. Hope this is a done bug.. data.getAttributes().getAll().keySet().removeIf(e-> data.getAttributes().getAll().get(e).sourcesCount() > 10);