Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/model/BedHeightType.java @ 7252:c894b7b45c4c
Replaced some tabs by spaces. Guys, please configure your editors not to insert tabs!
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 05 Oct 2013 12:48:44 +0200 |
parents | 4c3ccf2b0304 |
children | 5e38e2924c07 |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/BedHeightType.java Sat Oct 05 12:19:54 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/model/BedHeightType.java Sat Oct 05 12:48:44 2013 +0200 @@ -72,14 +72,14 @@ } public static BedHeightType fetchBedHeightTypeForType(String type) { - return fetchBedHeightTypeForType(type, null); + return fetchBedHeightTypeForType(type, null); } public static BedHeightType fetchBedHeightTypeForType(String name, Session session) { - if (session == null) { - session = SessionHolder.HOLDER.get(); - } + if (session == null) { + session = SessionHolder.HOLDER.get(); + } Query query = session.createQuery( "from BedHeightType where name=:name");