Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/Access.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 | af13ceeba52a |
children | 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
54 return null; | 54 return null; |
55 } | 55 } |
56 return (String)sd.getValue(); | 56 return (String)sd.getValue(); |
57 } | 57 } |
58 | 58 |
59 /** Get a data entry as double, returns null if string not double valueoffable. */ | 59 /** Get a data entry as double, or null */ |
60 protected Double getDouble(String key) { | 60 protected Double getDouble(String key) { |
61 StateData sd = artifact.getData(key); | 61 StateData sd = artifact.getData(key); |
62 if (sd == null) { | 62 if (sd == null) { |
63 log.warn("missing '" + key + "' value"); | 63 log.warn("missing '" + key + "' value"); |
64 return null; | 64 return null; |