diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2017-05-03 14:08:04 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2017-05-03 14:08:04 +0000 |
commit | 267ee8a2a02dab1eb7d075943676d48d0bb5c831 (patch) | |
tree | 1be5793923ea608dcecd4447070b613b2bddc282 /src/java | |
parent | fb47a0b6fc5b8d8345bd378e43b4382639a27745 (diff) | |
download | poi-267ee8a2a02dab1eb7d075943676d48d0bb5c831.tar.gz poi-267ee8a2a02dab1eb7d075943676d48d0bb5c831.zip |
Remove Unicode chars in comments
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1793647 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/poi/ss/usermodel/DateUtil.java | 2 | ||||
-rw-r--r-- | 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 a866f1ab37..79d94c2f8d 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 90f8712fe2..35d0b0ebe1 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 |