Commit 4d64260c authored by Eirik Alvær's avatar Eirik Alvær

Refs #2052 - Use id instead of label in dimensionTypes

parent f9c9ef30
......@@ -25,7 +25,6 @@ public class ETagGenerator {
public String generateETagFromData() {
String input = data.getString();
String etag = generateChecksum(input);
return etag;
}
......
......@@ -70,11 +70,11 @@ public final class DimensionMaker {
Set<String> plainset = new LinkedHashSet<String>();
for (Dimension dimension : dimensions) {
if (dimension instanceof TemporalDimension) {
temporalset.add(dimension.getLabel());
temporalset.add(dimension.getId());
} else if (dimension instanceof SpatialDimension) {
spatialset.add(dimension.getLabel());
spatialset.add(dimension.getId());
} else {
plainset.add(dimension.getLabel());
plainset.add(dimension.getId());
}
}
addObject(objectmap, DIMENSION_TYPE_SPATIAL, spatialset);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment