Convert NumberParseException's constructor to Number instead of int
This commit is contained in:
parent
67e696b27a
commit
5855927cd5
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ public abstract class NumberParseException extends IllegalArgumentException {
|
|||
* @param min Maximum value
|
||||
* @param max Minimum value
|
||||
*/
|
||||
public NumberParseException(@Nonnull final String input, final int min, final int max) {
|
||||
public NumberParseException(@Nonnull final String input, @Nonnull final Number min, @Nonnull final Number max) {
|
||||
this.input = input;
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue