diff options
Diffstat (limited to 'src/main/java/com/amazon')
-rw-r--r-- | src/main/java/com/amazon/carbonado/constraint/FloatConstraint.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/constraint/FloatConstraint.java b/src/main/java/com/amazon/carbonado/constraint/FloatConstraint.java index 29c5c83..171b938 100644 --- a/src/main/java/com/amazon/carbonado/constraint/FloatConstraint.java +++ b/src/main/java/com/amazon/carbonado/constraint/FloatConstraint.java @@ -61,12 +61,12 @@ public @interface FloatConstraint { /**
* Specify minimum allowed value for float/double property. Default is unlimited.
*/
- double min() default Double.MIN_VALUE;
+ double min() default Double.NEGATIVE_INFINITY;
/**
* Specify maximum allowed value for float/double property. Default is unlimited.
*/
- double max() default Double.MAX_VALUE;
+ double max() default Double.POSITIVE_INFINITY;
/**
* Constraint implementation for {@link FloatConstraint}.
|