]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/text/Quantifier.java
Upgrade ICU4J.
[Dictionary.git] / jars / icu4j-52_1 / main / classes / core / src / com / ibm / icu / text / Quantifier.java
similarity index 95%
rename from jars/icu4j-4_8_1_1/main/classes/core/src/com/ibm/icu/text/Quantifier.java
rename to jars/icu4j-52_1/main/classes/core/src/com/ibm/icu/text/Quantifier.java
index b4616b5bb1ac3352addf498a8c2c5bb1322c4c4d..643ab27d23a3653faa2a18c3b6cde7075a2dd2ab 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2001-2010, International Business Machines Corporation and    *
+ * Copyright (C) 2001-2011, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -22,7 +22,7 @@ class Quantifier implements UnicodeMatcher {
 
     public Quantifier(UnicodeMatcher theMatcher,
                       int theMinCount, int theMaxCount) {
-        if (theMatcher == null || minCount < 0 || maxCount < 0 || minCount > maxCount) {
+        if (theMatcher == null || theMinCount < 0 || theMaxCount < 0 || theMinCount > theMaxCount) {
             throw new IllegalArgumentException();
         }
         matcher = theMatcher;