Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportAnnotation.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 |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
124 Attribute a = attribute.getPeer(); | 124 Attribute a = attribute.getPeer(); |
125 Position p = position.getPeer(); | 125 Position p = position.getPeer(); |
126 Edge e = edge != null ? edge.getPeer() : null; | 126 Edge e = edge != null ? edge.getPeer() : null; |
127 AnnotationType t = type != null ? type.getPeer() : null; | 127 AnnotationType t = type != null ? type.getPeer() : null; |
128 | 128 |
129 Session session = ImporterSession.getInstance().getDatabaseSession(); | 129 Session session = ImporterSession.getInstance() |
130 .getDatabaseSession(); | |
130 Query query = session.createQuery( | 131 Query query = session.createQuery( |
131 "from Annotation where " + | 132 "from Annotation where " + |
132 "range=:range and " + | 133 "range=:range and " + |
133 "attribute=:attribute and " + | 134 "attribute=:attribute and " + |
134 "position=:position and " + | 135 "position=:position and " + |