[PATCH 16 of 45] Warn for not implemented difference handling of minfo artifacts

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 17:05:44 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1424082627 -3600
# Node ID 522f72f43ae695aae78e844dd468be7b957ba399
# Parent  c6723e5b68575caf12f29f8ec4a7bb77aa502687
Warn for not implemented difference handling of minfo artifacts.

diff -r c6723e5b6857 -r 522f72f43ae6 artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java	Fri Feb 13 16:36:52 2015 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java	Mon Feb 16 11:30:27 2015 +0100
@@ -152,9 +152,9 @@
             return wkms[idx];
         }
         else if (d4eArtifact instanceof MINFOArtifact) {
-            log.debug("Get WKms from MINFOArtifact");
-            CalculationResult r = (CalculationResult)
-                d4eArtifact.compute(context, ComputeType.ADVANCE, false);
+            log.warn("Get WKms from MINFOArtifact not implemented!");
+//            CalculationResult r = (CalculationResult)
+//                d4eArtifact.compute(context, ComputeType.ADVANCE, false);
         }
         else if (d4eArtifact instanceof FixationArtifact) {
             log.debug ("Get WKms from FixationArtifact.");


More information about the Dive4Elements-commits mailing list