diff backend/src/main/java/org/dive4elements/river/importer/ImportPorosityValue.java @ 8856:5e38e2924c07 3.2.x

Fix code style.
author Tom Gottfried <tom@intevation.de>
date Thu, 18 Jan 2018 20:12:01 +0100
parents cdef048c4ac5
children 392bbcd8a88b 0a5239a1e46e
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportPorosityValue.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/backend/src/main/java/org/dive4elements/river/importer/ImportPorosityValue.java	Thu Jan 18 20:12:01 2018 +0100
@@ -62,14 +62,17 @@
         log.info("get peer");
 
         if (peer == null) {
-            Session session = ImporterSession.getInstance().getDatabaseSession();
+            Session session = ImporterSession.getInstance()
+                .getDatabaseSession();
 
             Query query = session.createQuery(
-                "from PorosityValue where " +
-                "   porosity=:porosity and " +
-                "   station between :station - 0.0001f and :station + 0.0001f and" +
-                "   porosityValue between :poros -0.0001f and :poros + 0.0001f and" +
-                "   description=:description");
+                "from PorosityValue "
+                + "where porosity=:porosity "
+                + "and station between :station - 0.0001f "
+                + "    and :station + 0.0001f "
+                + "and porosityValue between :poros -0.0001f "
+                + "    and :poros + 0.0001f "
+                + "and description=:description");
 
             query.setParameter("porosity", porosity);
             query.setParameter("station", station.floatValue());

http://dive4elements.wald.intevation.org