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