}
public Date getDate() throws MFormatConversionException {
- Date date = null;
String text = this.getText();
if (!MText.isEmpty(text)) {
return this.getDateConverterReference().getDateFromString(text);
}
- return date;
+ return null;
}
/* Validation */
}
public BigDecimal getNumber() throws MFormatConversionException {
- BigDecimal number = null;
String text = this.getText();
if (!MText.isEmpty(text)) {
return this.getNumberConverterReference().getNumberFromString(text);
}
- return number;
+ return null;
}
/* Validation */