Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportSedimentDensityValue.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 | 4c3ccf2b0304 |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
64 | 64 |
65 public SedimentDensityValue getPeer(SedimentDensity sedimentDensity) { | 65 public SedimentDensityValue getPeer(SedimentDensity sedimentDensity) { |
66 log.info("get peer"); | 66 log.info("get peer"); |
67 | 67 |
68 if (peer == null) { | 68 if (peer == null) { |
69 Session session = ImporterSession.getInstance().getDatabaseSession(); | 69 Session session = ImporterSession.getInstance() |
70 .getDatabaseSession(); | |
70 | 71 |
71 Query query = session.createQuery( | 72 Query query = session.createQuery( |
72 "from SedimentDensityValue where " + | 73 "from SedimentDensityValue where " + |
73 " sedimentDensity=:sedimentDensity and " + | 74 " sedimentDensity=:sedimentDensity and " + |
74 " station=:station and " + | 75 " station=:station and " + |