From: PJ Fanning Date: Mon, 20 Aug 2018 10:03:49 +0000 (+0000) Subject: [bug-62639] make private constructor on DateFormatter public X-Git-Tag: REL_4_0_0_FINAL~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=278ed0fc326ae96171407a2f8678662e60542670;p=poi.git [bug-62639] make private constructor on DateFormatter public git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1838420 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/ss/usermodel/DataFormatter.java b/src/java/org/apache/poi/ss/usermodel/DataFormatter.java index b225989c1d..e1e5b7a2c1 100644 --- a/src/java/org/apache/poi/ss/usermodel/DataFormatter.java +++ b/src/java/org/apache/poi/ss/usermodel/DataFormatter.java @@ -267,7 +267,7 @@ public class DataFormatter implements Observer { * @param localeIsAdapting (true only if locale is not user-specified) * @param emulateCSV whether to emulate CSV output. */ - private DataFormatter(Locale locale, boolean localeIsAdapting, boolean emulateCSV) { + public DataFormatter(Locale locale, boolean localeIsAdapting, boolean emulateCSV) { this.localeIsAdapting = true; localeChangedObservable.addObserver(this); // localeIsAdapting must be true prior to this first checkForLocaleChange call.