diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java @ 1787:f3be8fa1ec62

Cosmetics, added simpler constructor for StaticState. flys-artifacts/trunk@3110 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 28 Oct 2011 10:24:26 +0000
parents c62ff9e72cea
children f6a190f6aaff
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Fri Oct 28 10:20:00 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/MainValuesArtifact.java	Fri Oct 28 10:24:26 2011 +0000
@@ -74,9 +74,8 @@
         Document        data)
     {
         logger.debug("MainValuesArtifact.setup");
-        state = new StaticState(
-            STATIC_STATE_NAME,
-            STATIC_STATE_NAME);
+        state = new StaticState(STATIC_STATE_NAME);
+
         Facet qfacet = new MainValuesQFacet(Resources.getMsg(
             callMeta,
             "facet.discharge_curves.mainvalues.q",
@@ -100,7 +99,7 @@
      * Create "the" state.
      */
     protected State spawnState() {
-        state = new StaticState(STATIC_STATE_NAME, STATIC_STATE_NAME);
+        state = new StaticState(STATIC_STATE_NAME);
         List<Facet> fs = (List<Facet>) facets.get(STATIC_STATE_NAME);
 
         DefaultOutput mainValuesOutput2 = new DefaultOutput(

http://dive4elements.wald.intevation.org