changeset 3128:1dd6f30b0a76

FixA: Changed data type from QW[] to QWD[] to have delta Ws in reference events. flys-artifacts/trunk@4729 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 20 Jun 2012 15:24:01 +0000 (2012-06-20)
parents 71484036b6ae
children 04952869e4fa
files flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Wed Jun 20 15:20:44 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Jun 20 15:24:01 2012 +0000
@@ -1,3 +1,8 @@
+2012-06-20  Raimund Renkert <raimund.renkert@intevation.de>
+
+	* src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java:
+	  Changed data type from QW[] to QWD[] to have delta Ws in reference events.
+
 2012-06-20  Raimund Renkert <raimund.renkert@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/model/fixings/Fitting.java:
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java	Wed Jun 20 15:20:44 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixReferenceEventsFacet.java	Wed Jun 20 15:24:01 2012 +0000
@@ -74,11 +74,11 @@
 
             KMIndex<QWD []> kmQWs = result.getReferenced();
             KMIndex.Entry<QWD []> kmQWsEntry = kmQWs.binarySearch(currentKm);
-            QW[] qws = null;
+            QWD[] qwds = null;
             if (kmQWsEntry != null) {
-                qws = kmQWsEntry.getValue();
+                qwds = kmQWsEntry.getValue();
             }
-            return qws;
+            return qwds;
         }
         else {
             logger.debug("Not an instance of FixationArtifact.");

http://dive4elements.wald.intevation.org