Revision 66b9cc46
Added by Andreas Müller about 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/NumberWithLabelElement.java | ||
---|---|---|
92 | 92 |
public Double getDouble(){ |
93 | 93 |
String text = super.getText(); |
94 | 94 |
try { |
95 |
return new Double(text);
|
|
95 |
return StringUtils.isBlank(text) ? null : new Double(text);
|
|
96 | 96 |
} catch (NumberFormatException e) { |
97 | 97 |
exception = e; |
98 | 98 |
} |
Also available in: Unified diff
fix #6453 fix NPE in min/max