From d0630390d26b760ce1218a80bef67072dfd9ceba Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Wed, 3 May 2017 14:08:04 +0000 Subject: [PATCH] Remove Unicode chars in comments git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793647 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/ss/usermodel/DateUtil.java | 2 +- src/java/org/apache/poi/util/LocaleUtil.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/poi/ss/usermodel/DateUtil.java b/src/java/org/apache/poi/ss/usermodel/DateUtil.java index a866f1ab3..79d94c2f8 100644 --- a/src/java/org/apache/poi/ss/usermodel/DateUtil.java +++ b/src/java/org/apache/poi/ss/usermodel/DateUtil.java @@ -49,7 +49,7 @@ public class DateUtil { private static final Pattern date_ptrn1 = Pattern.compile("^\\[\\$\\-.*?\\]"); private static final Pattern date_ptrn2 = Pattern.compile("^\\[[a-zA-Z]+\\]"); private static final Pattern date_ptrn3a = Pattern.compile("[yYmMdDhHsS]"); - // add "\u5e74 \u6708 \u65e5"(年月日) for Chinese/Japanese date format:2017年2月7日 + // add "\u5e74 \u6708 \u65e5" for Chinese/Japanese date format:2017 \u5e74 2 \u6708 7 \u65e5 private static final Pattern date_ptrn3b = Pattern.compile("^[\\[\\]yYmMdDhHsS\\-T/\u5e74\u6708\u65e5,. :\"\\\\]+0*[ampAMP/]*$"); // elapsed time patterns: [h],[m] and [s] private static final Pattern date_ptrn4 = Pattern.compile("^\\[([hH]+|[mM]+|[sS]+)\\]"); diff --git a/src/java/org/apache/poi/util/LocaleUtil.java b/src/java/org/apache/poi/util/LocaleUtil.java index 90f8712fe..35d0b0ebe 100644 --- a/src/java/org/apache/poi/util/LocaleUtil.java +++ b/src/java/org/apache/poi/util/LocaleUtil.java @@ -565,7 +565,7 @@ public final class LocaleUtil { case 0x4001: return "ar-QA"; case 0x4009: return "en-IN"; case 0x400a: return "es-BO"; - case 0x4401: return "ar-Ploc-SA"; // reseærved + case 0x4401: return "ar-Ploc-SA"; // reserved case 0x4409: return "en-MY"; case 0x440a: return "es-SV"; case 0x4801: return "ar-145"; // reserved