Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/RangeAccess.java @ 5777:e95427ed80e5
Merged
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 21 Apr 2013 10:46:59 +0200 |
parents | 3b12c890b0b2 |
children |
comparison
equal
deleted
inserted
replaced
5776:1126b9e00378 | 5777:e95427ed80e5 |
---|---|
74 if (winfo.getReferenceStartKm() != null && winfo.getReferenceEndKms() != null) { | 74 if (winfo.getReferenceStartKm() != null && winfo.getReferenceEndKms() != null) { |
75 return new double[] | 75 return new double[] |
76 { | 76 { |
77 winfo.getReferenceStartKm().doubleValue(), | 77 winfo.getReferenceStartKm().doubleValue(), |
78 winfo.getReferenceEndKms()[0] | 78 winfo.getReferenceEndKms()[0] |
79 }; | |
80 } | |
81 else if (winfo.getReferenceStartKm() != null) { | |
82 return new double[] | |
83 { | |
84 winfo.getReferenceStartKm().doubleValue(), | |
85 winfo.getReferenceStartKm().doubleValue() | |
79 }; | 86 }; |
80 } | 87 } |
81 } | 88 } |
82 return null; | 89 return null; |
83 } | 90 } |