From f5a7236bbdcfb7c7eafe6effa529d16e3d8c8982 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Helge=20=C3=98verland?= Date: Tue, 26 Nov 2024 22:05:23 +0100 Subject: [PATCH] fix: Update code --- .../dhis/analytics/table/JdbcEventAnalyticsTableManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java index e601bdca5740..e28f4314b7e3 100644 --- a/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java +++ b/dhis-2/dhis-services/dhis-service-analytics/src/main/java/org/hisp/dhis/analytics/table/JdbcEventAnalyticsTableManager.java @@ -573,12 +573,12 @@ private List getAttributeColumns(Program program) { List columns = new ArrayList<>(); columns.addAll( program.getNonConfidentialTrackedEntityAttributes().stream() - .map(tea -> getColumnForAttribute(tea)) + .map(this::getColumnForAttribute) .flatMap(Collection::stream) .toList()); columns.addAll( program.getNonConfidentialTrackedEntityAttributesWithLegendSet().stream() - .map(tea -> getColumnForAttributeWithLegendSet(tea)) + .map(this::getColumnForAttributeWithLegendSet) .flatMap(Collection::stream) .toList()); return columns;