diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java @ 4497:a2735a4bf75e

Change facets member variable to private Don't allow direct access to the facets member variable. Use the addFacets and getFacets methods instead.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 11:15:57 +0100
parents 2fdbe78a8fc2
children 87dab419b924
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java	Wed Nov 14 11:11:04 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/WMSHydrBoundaryPolyArtifact.java	Wed Nov 14 11:15:57 2012 +0100
@@ -57,7 +57,7 @@
     public State getCurrentState(Object cc) {
         State s = new HydrBoundaryPolyState(this);
 
-        List<Facet> fs = facets.get(getCurrentStateId());
+        List<Facet> fs = getFacets(getCurrentStateId());
 
         DefaultOutput o = new DefaultOutput(
             "floodmap",

http://dive4elements.wald.intevation.org