summaryrefslogtreecommitdiff
path: root/javax/swing/text/InternationalFormatter.java
diff options
context:
space:
mode:
Diffstat (limited to 'javax/swing/text/InternationalFormatter.java')
-rw-r--r--javax/swing/text/InternationalFormatter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/javax/swing/text/InternationalFormatter.java b/javax/swing/text/InternationalFormatter.java
index 8db435c18..d6f2359e6 100644
--- a/javax/swing/text/InternationalFormatter.java
+++ b/javax/swing/text/InternationalFormatter.java
@@ -285,7 +285,7 @@ public class InternationalFormatter
if (minimum != null && minimum.compareTo(o) > 0)
throw new ParseException("The value may not be less than the"
+ " specified minimum", 0);
- if (maximum != null && minimum.compareTo(o) < 0)
+ if (maximum != null && maximum.compareTo(o) < 0)
throw new ParseException("The value may not be greater than the"
+ " specified maximum", 0);
return o;