diff backend/src/main/java/org/dive4elements/river/importer/ImportWst.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 5358a5497b2b
children 392bbcd8a88b 0a5239a1e46e
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportWst.java	Thu Jan 18 20:10:59 2018 +0100
+++ b/backend/src/main/java/org/dive4elements/river/importer/ImportWst.java	Thu Jan 18 20:12:01 2018 +0100
@@ -65,7 +65,10 @@
         this(description, COLUMN_FACTORY);
     }
 
-    public ImportWst(String description, ImportWstColumnFactory columnFactory) {
+    public ImportWst(
+        String description,
+        ImportWstColumnFactory columnFactory
+    ) {
         this(columnFactory);
         this.description = description;
     }
@@ -150,7 +153,8 @@
     /** Get corresponding mapped wst (from database). */
     public Wst getPeer(River river) {
         if (peer == null) {
-            Session session = ImporterSession.getInstance().getDatabaseSession();
+            Session session = ImporterSession.getInstance()
+                .getDatabaseSession();
             Query query = session.createQuery(
                 "from Wst where " +
                 "river=:river and description=:description and kind=:kind");

http://dive4elements.wald.intevation.org