Project

General

Profile

Revision 126723a8

ID126723a8e4240e87e302037e59a73efb02bfaa8f
Parent b6f4fe20
Child 66b9cc46

Added by Andreas Müller over 3 years ago

cleanup

View differences:

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

Add picture from clipboard (Maximum size: 40 MB)