comparison backend/src/main/java/org/dive4elements/river/model/BedHeightType.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 c894b7b45c4c
children 0a5239a1e46e
comparison
equal deleted inserted replaced
8855:d7c005e12af0 8856:5e38e2924c07
73 73
74 public static BedHeightType fetchBedHeightTypeForType(String type) { 74 public static BedHeightType fetchBedHeightTypeForType(String type) {
75 return fetchBedHeightTypeForType(type, null); 75 return fetchBedHeightTypeForType(type, null);
76 } 76 }
77 77
78 public static BedHeightType fetchBedHeightTypeForType(String name, Session session) { 78 public static BedHeightType fetchBedHeightTypeForType(
79 79 String name,
80 Session session
81 ) {
80 if (session == null) { 82 if (session == null) {
81 session = SessionHolder.HOLDER.get(); 83 session = SessionHolder.HOLDER.get();
82 } 84 }
83 85
84 Query query = session.createQuery( 86 Query query = session.createQuery(

http://dive4elements.wald.intevation.org