Skip to content

Commit

Permalink
fix: Update code
Browse files Browse the repository at this point in the history
  • Loading branch information
larshelge committed Nov 26, 2024
1 parent e8e862a commit 490ea09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
import static org.hisp.dhis.common.DimensionalObject.ITEM_SEP;
import static org.hisp.dhis.common.DimensionalObject.OPTION_SEP;
import static org.hisp.dhis.expression.ExpressionService.SYMBOL_WILDCARD;

import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
Expand All @@ -53,7 +50,6 @@
import java.util.regex.Pattern;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import lombok.NoArgsConstructor;
import org.apache.commons.collections4.ListUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.tuple.Triple;
Expand All @@ -63,6 +59,9 @@
import org.hisp.dhis.eventvisualization.EventRepetition;
import org.hisp.dhis.program.Program;
import org.hisp.dhis.program.ProgramStage;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.NoArgsConstructor;

/**
* @author Lars Helge Overland
Expand Down Expand Up @@ -141,7 +140,6 @@ public static DimensionalObject linkAssociations(
EventAnalyticalObject eventAnalyticalObject,
DimensionalObject dimensionalObject,
Attribute parent) {
// Associating event repetitions.
List<EventRepetition> repetitions = eventAnalyticalObject.getEventRepetitions();

if (isNotEmpty(repetitions)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ public enum ColumnHeader {
GEOMETRY("geometry", "Geometry"),
ENROLLMENT_DATE("enrollmentdate", "Enrollment date"),
/**
* @deprecated use @Link{#OCCURRED_DATE} instead.
* Deprecated since 2.42. Use @Link{#OCCURRED_DATE} instead.
*/
@Deprecated(since = "2.42")
INCIDENT_DATE("incidentdate", "Incident date"),
OCCURRED_DATE("occurreddate", "Occurred date"),
STORED_BY("storedby", "Stored by"),
Expand Down

0 comments on commit 490ea09

Please sign in to comment.