We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumericValidator now offers single constructor - NumericValidator(String attribute), and contains hardcoded locale-dependent NumberFormat
It would be great to get a possibility to specify custom number format in constructor, like this:
public NumericValidator(String attribute, NumberFormat numberFormat){ this.attribute = attribute; this.numberFormat = numberFormat ; }
and make old constuctor behave the same way, to keep backward compatibility :
public NumericValidator(String attribute){ this (attribute, NumberFormat.getInstance()); }
The text was updated successfully, but these errors were encountered:
#1236 - Make NumericValidator locale-independent
3288778
@eugeneRover this is completed.
Sorry, something went wrong.
yanchevsky
No branches or pull requests
NumericValidator now offers single constructor - NumericValidator(String attribute), and contains hardcoded locale-dependent NumberFormat
It would be great to get a possibility to specify custom number format in constructor, like this:
and make old constuctor behave the same way, to keep backward compatibility :
The text was updated successfully, but these errors were encountered: