changeset 298:fc694a43a7e5

Changed the visibility of getData() method of FLYSArtifacts. flys-artifacts/trunk@1647 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 06 Apr 2011 09:53:14 +0000
parents e24f8ad32577
children 8940b0885865
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Sun Apr 03 10:55:16 2011 +0000
+++ b/flys-artifacts/ChangeLog	Wed Apr 06 09:53:14 2011 +0000
@@ -1,3 +1,9 @@
+2011-04-06  Ingo Weinzierl <ingo@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java: Changed
+	  the visibility of the getData() method. It's now public, because the
+	  OutGenerator needs an artifact's data.
+
 2011-04-03	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/**/*.java: Removed trailing whitespace.
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Sun Apr 03 10:55:16 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/FLYSArtifact.java	Wed Apr 06 09:53:14 2011 +0000
@@ -309,7 +309,7 @@
      *
      * @return the StateData object if existing, otherwise null.
      */
-    protected StateData getData(String name) {
+    public StateData getData(String name) {
         return data.get(name);
     }
 

http://dive4elements.wald.intevation.org