changeset 3791:e72c7fe202dd

Remove obsolet method flys-backend/trunk@5418 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Mon, 10 Sep 2012 12:16:28 +0000
parents 6546c0bbc6f9
children 2e993a847e31
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/model/Gauge.java
diffstat 2 files changed, 5 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Mon Sep 10 09:50:43 2012 +0000
+++ b/flys-backend/ChangeLog	Mon Sep 10 12:16:28 2012 +0000
@@ -1,3 +1,8 @@
+2012-09-10	Christian Lins	<christian.lins@intevation.de>
+
+	* src/main/java/de/intevation/flys/model/Gauge.java:
+	  Remove obsolet method (#851).
+
 2012-09-10	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/Gauge.java:
--- a/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java	Mon Sep 10 09:50:43 2012 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/model/Gauge.java	Mon Sep 10 12:16:28 2012 +0000
@@ -326,17 +326,5 @@
         return new MinMaxWQ(minw, maxw, minq, maxq);
     }
 
-    /** XXX: Can some one (ingo) tell me, what's the difference
-             to simple call of  getMainValues()? */
-    public List<MainValue> fetchMainValues() {
-        // TODO: Use getMainValues() instead.
-        Session session = SessionHolder.HOLDER.get();
-
-        Query query = session.createQuery(
-            "from MainValue where gauge=:gauge");
-        query.setParameter("gauge", this);
-
-        return query.list();
-    }
 }
 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org