[PATCH 3 of 3] (issue1622) Paint W Differences on diffW Axis
Wald Commits
scm-commit at wald.intevation.org
Thu Dec 19 18:36:19 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1387474560 -3600
# Node ID dfe3f78fd3e50f67bfc8caa2af3463a7cae5f86e
# Parent 27578853bf24347e58d7a9b3cc9c63647887cd95
(issue1622) Paint W Differences on diffW Axis
diff -r 27578853bf24 -r dfe3f78fd3e5 artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java
--- a/artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java Thu Dec 19 18:35:03 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/exports/process/AreaProcessor.java Thu Dec 19 18:36:00 2013 +0100
@@ -132,16 +132,17 @@
/** Look up the axis identifier for a given facet type. */
private String axisNameForFacet(String facetName) {
+ if (FacetTypes.W_DIFFERENCES.equals(facetName)) {
+ return "diffW";
+ }
if (FacetTypes.IS.W(facetName)) {
return "W";
}
- else if (FacetTypes.IS.Q(facetName)) {
+ if (FacetTypes.IS.Q(facetName)) {
return "Q";
}
- else {
- logger.warn("Could not find axis for facet " + facetName);
- return "W";
- }
+ logger.warn("Could not find axis for facet " + facetName);
+ return "W";
}
@Override
More information about the Dive4elements-commits
mailing list