comparison backend/src/main/java/org/dive4elements/river/model/CrossSection.java @ 8200:9d2e69f971f5

sed -i src/**/*.java 's/logger/log/g'
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 05 Sep 2014 12:50:33 +0200
parents b9633d6ce57e
children 8abe94270f32
comparison
equal deleted inserted replaced
8199:42ac86ec19c7 8200:9d2e69f971f5
43 @Entity 43 @Entity
44 @Table(name = "cross_sections") 44 @Table(name = "cross_sections")
45 public class CrossSection 45 public class CrossSection
46 implements Serializable 46 implements Serializable
47 { 47 {
48 private static Logger logger = 48 private static Logger log =
49 Logger.getLogger(CrossSection.class); 49 Logger.getLogger(CrossSection.class);
50 50
51 public static final MathContext PRECISION = new MathContext(6); 51 public static final MathContext PRECISION = new MathContext(6);
52 52
53 public static final String SQL_FAST_CROSS_SECTION_LINES = 53 public static final String SQL_FAST_CROSS_SECTION_LINES =
246 if (result == getId()) { 246 if (result == getId()) {
247 return true; 247 return true;
248 } 248 }
249 } 249 }
250 else { 250 else {
251 logger.warn("No CS found that could be master."); 251 log.warn("No CS found that could be master.");
252 } 252 }
253 253
254 // TODO If there is none, might need a fallback. 254 // TODO If there is none, might need a fallback.
255 // Formerly this was the most current CS (issue1157). 255 // Formerly this was the most current CS (issue1157).
256 256

http://dive4elements.wald.intevation.org