changeset 6488:b992c7f6b3ad

FixWaterlevelFacet: Turn around hash and stateId parameter in constructor, as in DataFacet.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 28 Jun 2013 09:53:04 +0200
parents 77a0baea2ac0
children e9e292316357
files artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixWaterlevelFacet.java
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixWaterlevelFacet.java	Fri Jun 28 09:52:38 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixWaterlevelFacet.java	Fri Jun 28 09:53:04 2013 +0200
@@ -32,10 +32,12 @@
         String      name,
         String      description,
         ComputeType type,
-        String      stateID,
-        String      hash
+        String      hash,
+        String      stateID
     ) {
-        super(index, name, description, type, hash, stateID);
+        // Note that in super, hash and stateID are on switched positions.
+        // on super.super it is this way around again.
+        super(index, name, description, type, stateID, hash);
     }
 
     @Override

http://dive4elements.wald.intevation.org