Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/access/RangeAccess.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 | 30b1ddadf275 |
children | 611a523fc42f 0a5239a1e46e |
comparison
equal
deleted
inserted
replaced
8855:d7c005e12af0 | 8856:5e38e2924c07 |
---|---|
85 String locationStr = getString("ld_locations"); | 85 String locationStr = getString("ld_locations"); |
86 | 86 |
87 if (locationStr == null || locationStr.length() == 0) { | 87 if (locationStr == null || locationStr.length() == 0) { |
88 if (getArtifact() instanceof WINFOArtifact) { | 88 if (getArtifact() instanceof WINFOArtifact) { |
89 WINFOArtifact winfo = (WINFOArtifact) getArtifact(); | 89 WINFOArtifact winfo = (WINFOArtifact) getArtifact(); |
90 if (winfo.getReferenceStartKm() != null && winfo.getReferenceEndKms() != null) { | 90 if (winfo.getReferenceStartKm() != null |
91 && winfo.getReferenceEndKms() != null | |
92 ) { | |
91 return new double[] | 93 return new double[] |
92 { | 94 { |
93 winfo.getReferenceStartKm().doubleValue(), | 95 winfo.getReferenceStartKm().doubleValue(), |
94 winfo.getReferenceEndKms()[0] | 96 winfo.getReferenceEndKms()[0] |
95 }; | 97 }; |