Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/sq/StaticSQRelationFacet.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | 5b2126d21c2e |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
29 { | 29 { |
30 public static final String FUNCTION = "sq-pow"; | 30 public static final String FUNCTION = "sq-pow"; |
31 | 31 |
32 private StaticSQRelation relation; | 32 private StaticSQRelation relation; |
33 | 33 |
34 private static final Logger logger = | 34 private static final Logger log = |
35 Logger.getLogger(StaticSQRelationFacet.class); | 35 Logger.getLogger(StaticSQRelationFacet.class); |
36 | 36 |
37 public StaticSQRelationFacet( | 37 public StaticSQRelationFacet( |
38 int ndx, | 38 int ndx, |
39 String name, | 39 String name, |
66 null, | 66 null, |
67 context); | 67 context); |
68 if (other == null) { | 68 if (other == null) { |
69 // name is not really unique here but it's our only key | 69 // name is not really unique here but it's our only key |
70 // should not happen anyhow. | 70 // should not happen anyhow. |
71 logger.error("Did not get data from: " + name); | 71 log.error("Did not get data from: " + name); |
72 continue; | 72 continue; |
73 } | 73 } |
74 startingPoint = Math.min(other.getMinQ(), startingPoint); | 74 startingPoint = Math.min(other.getMinQ(), startingPoint); |
75 } | 75 } |
76 if (startingPoint == Double.MAX_VALUE) { | 76 if (startingPoint == Double.MAX_VALUE) { |