comparison backend/src/main/java/org/dive4elements/river/importer/ImportBedHeightValue.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 19c38a47a276
children a0a0a7f912ab 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
62 * Add this value to database or return database bound Value, assuring 62 * Add this value to database or return database bound Value, assuring
63 * that the BedHeight exists in db already. 63 * that the BedHeight exists in db already.
64 */ 64 */
65 public BedHeightValue getPeer(BedHeight bedHeight) { 65 public BedHeightValue getPeer(BedHeight bedHeight) {
66 if (peer == null) { 66 if (peer == null) {
67 Session session = ImporterSession.getInstance().getDatabaseSession(); 67 Session session = ImporterSession.getInstance()
68 .getDatabaseSession();
68 69
69 Query query = session.createQuery( 70 Query query = session.createQuery(
70 "from BedHeightValue where " + 71 "from BedHeightValue where " +
71 " bedHeight=:bedHeight and " + 72 " bedHeight=:bedHeight and " +
72 " station=:station"); 73 " station=:station");

http://dive4elements.wald.intevation.org