Revision 126723a8
Added by Andreas Müller about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/MinMaxTextSection.java | ||
---|---|---|
202 | 202 |
private void updateMinimum() { |
203 | 203 |
switch(unitType) { |
204 | 204 |
case ELEVATION: |
205 |
getEntity().setAbsoluteElevation(text_minVal.getDouble()!=null?text_minVal.getDouble().intValue():null);
|
|
205 |
getEntity().setAbsoluteElevation(text_minVal.getDouble()!=null ? text_minVal.getDouble().intValue(): null);
|
|
206 | 206 |
break; |
207 | 207 |
case DIST_TO_GROUND: |
208 | 208 |
getEntity().setDistanceToGround(text_minVal.getDouble()); |
... | ... | |
231 | 231 |
private void updateMaximum() { |
232 | 232 |
switch(unitType) { |
233 | 233 |
case ELEVATION: |
234 |
getEntity().setAbsoluteElevationMax(text_maxVal.getDouble()!=null?text_maxVal.getDouble().intValue():null);
|
|
234 |
getEntity().setAbsoluteElevationMax(text_maxVal.getDouble() != null ? text_maxVal.getDouble().intValue() : null);
|
|
235 | 235 |
break; |
236 | 236 |
case DIST_TO_GROUND: |
237 | 237 |
getEntity().setDistanceToGroundMax(text_maxVal.getDouble()); |
Also available in: Unified diff
cleanup