diff artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java @ 7697:640342d9ab8a

(issue1649) Remove broken getWKms from RiverUtils and use WDifferencesState instead This was basically duplicated code but only the code in WDifferenceState was maintained and extended. Another RiverUtils function bites the dust.
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 16 Dec 2013 16:24:07 +0100
parents 6205fe683ac7
children 6451970e0562
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java	Mon Dec 16 16:00:10 2013 +0100
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/WDifferencesState.java	Mon Dec 16 16:24:07 2013 +0100
@@ -80,7 +80,7 @@
     /**
      * Access the data (wkms) of an artifact, coded in mingle.
      */
-    protected WKms getWKms(String mingle, CallContext context) {
+    public WKms getWKms(String mingle, CallContext context) {
         logger.debug("WDifferencesState.getWKms " + mingle);
         String[] def  = mingle.split(";");
         String   uuid = def[0];

http://dive4elements.wald.intevation.org