Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportSedimentLoadLSValue.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 | fd3a24336e6a |
children | 392bbcd8a88b |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
36 } | 36 } |
37 | 37 |
38 | 38 |
39 public SedimentLoadLSValue getPeer(SedimentLoadLS sedimentLoadLS) { | 39 public SedimentLoadLSValue getPeer(SedimentLoadLS sedimentLoadLS) { |
40 if (peer == null) { | 40 if (peer == null) { |
41 Session session = ImporterSession.getInstance().getDatabaseSession(); | 41 Session session = ImporterSession.getInstance() |
42 .getDatabaseSession(); | |
42 Query query = session.createQuery( | 43 Query query = session.createQuery( |
43 "from SedimentLoadLSValue where " + | 44 "from SedimentLoadLSValue where " + |
44 " sedimentLoadLS=:sedimentLoadLS and " + | 45 " sedimentLoadLS=:sedimentLoadLS and " + |
45 " station=:station and " + | 46 " station=:station and " + |
46 " value=:value" | 47 " value=:value" |