diff --git a/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/DataExtractionTransformer.java b/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/DataExtractionTransformer.java index 39e4d1ba..12412774 100644 --- a/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/DataExtractionTransformer.java +++ b/src/main/lombok/org/heigit/ohsome/ohsomeapi/executor/DataExtractionTransformer.java @@ -2,6 +2,7 @@ import java.io.Serializable; import java.util.Collections; +import java.util.EnumSet; import java.util.LinkedList; import java.util.List; import java.util.Map; @@ -173,9 +174,9 @@ public List buildUnchangedFeatures(OSMEntitySnapshot snapshot) { properties.put("@validTo", endTimestamp); boolean addToOutput = addEntityToOutput(entity, geom); if (addToOutput) { - return Collections.singletonList( - exeUtils.createOSMFeature(entity, geom, properties, keysInt, includeTags, - includeOSMMetadata, isContributionsEndpoint, elementsGeometry, null)); + return Collections.singletonList(exeUtils.createOSMFeature(entity, geom, properties, + keysInt, includeTags, includeOSMMetadata, isContributionsEndpoint, elementsGeometry, + EnumSet.noneOf(ContributionType.class))); } else { return Collections.emptyList(); }