@@ -967,33 +967,36 @@ void getFixPart(const jchar * langtag, const jint numberStyle, BOOL positive, BO
967
967
int style = numberStyle ;
968
968
// int got = 0;
969
969
970
- /*
971
970
if (positive ) {
972
971
if (style == sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_CURRENCY ) {
973
- got = getLocaleInfoWrapper(langtag,
972
+ // got =
973
+ getLocaleInfoWrapper (langtag ,
974
974
LOCALE_ICURRENCY | LOCALE_RETURN_NUMBER ,
975
975
(LPWSTR )& pattern , sizeof (pattern ));
976
976
} else if (style == sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_PERCENT ) {
977
- got = getLocaleInfoWrapper(langtag,
977
+ // got =
978
+ getLocaleInfoWrapper (langtag ,
978
979
LOCALE_IPOSITIVEPERCENT | LOCALE_RETURN_NUMBER ,
979
980
(LPWSTR )& pattern , sizeof (pattern ));
980
981
}
981
982
} else {
982
983
if (style == sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_CURRENCY ) {
983
- got = getLocaleInfoWrapper(langtag,
984
+ // got =
985
+ getLocaleInfoWrapper (langtag ,
984
986
LOCALE_INEGCURR | LOCALE_RETURN_NUMBER ,
985
987
(LPWSTR )& pattern , sizeof (pattern ));
986
988
} else if (style == sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_PERCENT ) {
987
- got = getLocaleInfoWrapper(langtag,
989
+ // got =
990
+ getLocaleInfoWrapper (langtag ,
988
991
LOCALE_INEGATIVEPERCENT | LOCALE_RETURN_NUMBER ,
989
992
(LPWSTR )& pattern , sizeof (pattern ));
990
993
} else {
991
- got = getLocaleInfoWrapper(langtag,
994
+ // got =
995
+ getLocaleInfoWrapper (langtag ,
992
996
LOCALE_INEGNUMBER | LOCALE_RETURN_NUMBER ,
993
997
(LPWSTR )& pattern , sizeof (pattern ));
994
998
}
995
999
}
996
- */
997
1000
998
1001
if (numberStyle == sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_INTEGER ) {
999
1002
style = sun_util_locale_provider_HostLocaleProviderAdapterImpl_NF_NUMBER ;
0 commit comments