changeset 4010:efb067ab2ca4

Added TODOs for issue880.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 01 Oct 2012 10:57:21 +0200
parents 92719f122c77
children bf687419feba
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java
diffstat 4 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Mon Oct 01 10:42:53 2012 +0200
+++ b/flys-artifacts/ChangeLog	Mon Oct 01 10:57:21 2012 +0200
@@ -1,3 +1,10 @@
+2012-10-01	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java,
+	  flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java,
+	  flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java:
+	  Added TODOs for issue880.
+
 2012-10-01	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/states/StaticState.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java	Mon Oct 01 10:42:53 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/AnnotationArtifact.java	Mon Oct 01 10:57:21 2012 +0200
@@ -45,6 +45,7 @@
             + artifact.identifier());
 
         FLYSArtifact flys = (FLYSArtifact) artifact;
+        // TODO issue880: make annotations available _per type_
         importData(flys, "river");
 
         List<Facet> fs = new ArrayList<Facet>();
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java	Mon Oct 01 10:42:53 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/AnnotationFacet.java	Mon Oct 01 10:57:21 2012 +0200
@@ -62,6 +62,8 @@
      */
     @Override
     public Object getData(Artifact artifact, CallContext context) {
+
+        // TODO issue880: Make annotations available _per type_
         AnnotationArtifact annotationArtifact = (AnnotationArtifact) artifact;
 
         String riverName = FLYSUtils.getRivername((FLYSArtifact)artifact);
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java	Mon Oct 01 10:42:53 2012 +0200
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/LocationProvider.java	Mon Oct 01 10:57:21 2012 +0200
@@ -10,6 +10,8 @@
 
 import de.intevation.flys.artifacts.cache.CacheFactory;
 
+
+/** Make FastAnnotations (db unbound) available. */
 public class LocationProvider {
 
     private static final Logger log =
@@ -38,6 +40,7 @@
     }
 
     protected static FastAnnotations getAnnotations(String river, double km) {
+        // TODO issue880: Make annotations available _per type_
 
         Cache cache = CacheFactory.getCache(CACHE_KEY);
 

http://dive4elements.wald.intevation.org