From cdec05e37ba583e643bd4313937d8b3f1009ec02 Mon Sep 17 00:00:00 2001 From: Mark Davis Date: Fri, 14 Dec 2012 18:19:24 +0000 Subject: [PATCH] ICU-9789 Fix problems that Markus found in review. X-SVN-Rev: 32965 --- .../classes/core/src/com/ibm/icu/text/SimpleDateFormat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4j/main/classes/core/src/com/ibm/icu/text/SimpleDateFormat.java b/icu4j/main/classes/core/src/com/ibm/icu/text/SimpleDateFormat.java index a17d2d4eae9..14a86ac9f70 100644 --- a/icu4j/main/classes/core/src/com/ibm/icu/text/SimpleDateFormat.java +++ b/icu4j/main/classes/core/src/com/ibm/icu/text/SimpleDateFormat.java @@ -2001,7 +2001,7 @@ public class SimpleDateFormat extends DateFormat { (matchLength = regionMatchesWithOptionalDot(text, start, leapMonthName, length)) >= 0) { bestMatch = i; - bestMatchLength = length; + bestMatchLength = matchLength; isLeapMonth = 1; } } -- 2.49.0