From 6dde41ef93d5ba3c0c10a1891ce91002d6370e8a Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Wed, 15 Feb 2012 22:32:27 +0000 Subject: Remove trailing separator from locale data and hack to get around it in DateFormatSymbols. 2012-02-15 Andrew John Hughes * java/text/DateFormatSymbols.java: (getStringArray(List,String,int,String)): Remove hack which removes last character of the input data; now unnecessary. * resource/gnu/java/locale/LocaleInformation.properties, * resource/gnu/java/locale/LocaleInformation_aa.properties, * resource/gnu/java/locale/LocaleInformation_aa_DJ.properties, * resource/gnu/java/locale/LocaleInformation_aa_ER_SAAHO.properties, * resource/gnu/java/locale/LocaleInformation_af.properties, * resource/gnu/java/locale/LocaleInformation_ak.properties, * resource/gnu/java/locale/LocaleInformation_am.properties, * resource/gnu/java/locale/LocaleInformation_ar.properties, * resource/gnu/java/locale/LocaleInformation_ar_JO.properties, * resource/gnu/java/locale/LocaleInformation_ar_LB.properties, * resource/gnu/java/locale/LocaleInformation_ar_QA.properties, * resource/gnu/java/locale/LocaleInformation_ar_SA.properties, * resource/gnu/java/locale/LocaleInformation_ar_SY.properties, * resource/gnu/java/locale/LocaleInformation_ar_TN.properties, * resource/gnu/java/locale/LocaleInformation_ar_YE.properties, * resource/gnu/java/locale/LocaleInformation_as.properties, * resource/gnu/java/locale/LocaleInformation_az.properties, * resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, * resource/gnu/java/locale/LocaleInformation_be.properties, * resource/gnu/java/locale/LocaleInformation_bg.properties, * resource/gnu/java/locale/LocaleInformation_bn.properties, * resource/gnu/java/locale/LocaleInformation_bs.properties, * resource/gnu/java/locale/LocaleInformation_byn.properties, * resource/gnu/java/locale/LocaleInformation_ca.properties, * resource/gnu/java/locale/LocaleInformation_cch.properties, * resource/gnu/java/locale/LocaleInformation_cop.properties, * resource/gnu/java/locale/LocaleInformation_cs.properties, * resource/gnu/java/locale/LocaleInformation_cy.properties, * resource/gnu/java/locale/LocaleInformation_da.properties, * resource/gnu/java/locale/LocaleInformation_de.properties, * resource/gnu/java/locale/LocaleInformation_de_AT.properties, * resource/gnu/java/locale/LocaleInformation_de_BE.properties, * resource/gnu/java/locale/LocaleInformation_dv.properties, * resource/gnu/java/locale/LocaleInformation_dz.properties, * resource/gnu/java/locale/LocaleInformation_ee.properties, * resource/gnu/java/locale/LocaleInformation_el.properties, * resource/gnu/java/locale/LocaleInformation_en.properties, * resource/gnu/java/locale/LocaleInformation_en_Dsrt.properties, * resource/gnu/java/locale/LocaleInformation_en_Shaw.properties, * resource/gnu/java/locale/LocaleInformation_eo.properties, * resource/gnu/java/locale/LocaleInformation_es.properties, * resource/gnu/java/locale/LocaleInformation_et.properties, * resource/gnu/java/locale/LocaleInformation_eu.properties, * resource/gnu/java/locale/LocaleInformation_fa.properties, * resource/gnu/java/locale/LocaleInformation_fa_AF.properties, * resource/gnu/java/locale/LocaleInformation_fi.properties, * resource/gnu/java/locale/LocaleInformation_fil.properties, * resource/gnu/java/locale/LocaleInformation_fo.properties, * resource/gnu/java/locale/LocaleInformation_fr.properties, * resource/gnu/java/locale/LocaleInformation_fur.properties, * resource/gnu/java/locale/LocaleInformation_ga.properties, * resource/gnu/java/locale/LocaleInformation_gaa.properties, * resource/gnu/java/locale/LocaleInformation_gez.properties, * resource/gnu/java/locale/LocaleInformation_gl.properties, * resource/gnu/java/locale/LocaleInformation_gu.properties, * resource/gnu/java/locale/LocaleInformation_gv.properties, * resource/gnu/java/locale/LocaleInformation_ha.properties, * resource/gnu/java/locale/LocaleInformation_ha_Arab.properties, * resource/gnu/java/locale/LocaleInformation_haw.properties, * resource/gnu/java/locale/LocaleInformation_he.properties, * resource/gnu/java/locale/LocaleInformation_hi.properties, * resource/gnu/java/locale/LocaleInformation_hr.properties, * resource/gnu/java/locale/LocaleInformation_hu.properties, * resource/gnu/java/locale/LocaleInformation_hy.properties, * resource/gnu/java/locale/LocaleInformation_hy_AM_REVISED.properties, * resource/gnu/java/locale/LocaleInformation_ia.properties, * resource/gnu/java/locale/LocaleInformation_id.properties, * resource/gnu/java/locale/LocaleInformation_ig.properties, * resource/gnu/java/locale/LocaleInformation_ii.properties, * resource/gnu/java/locale/LocaleInformation_is.properties, * resource/gnu/java/locale/LocaleInformation_it.properties, * resource/gnu/java/locale/LocaleInformation_iu.properties, * resource/gnu/java/locale/LocaleInformation_ja.properties, * resource/gnu/java/locale/LocaleInformation_ka.properties, * resource/gnu/java/locale/LocaleInformation_kaj.properties, * resource/gnu/java/locale/LocaleInformation_kam.properties, * resource/gnu/java/locale/LocaleInformation_kcg.properties, * resource/gnu/java/locale/LocaleInformation_kfo.properties, * resource/gnu/java/locale/LocaleInformation_kk.properties, * resource/gnu/java/locale/LocaleInformation_kl.properties, * resource/gnu/java/locale/LocaleInformation_km.properties, * resource/gnu/java/locale/LocaleInformation_kn.properties, * resource/gnu/java/locale/LocaleInformation_ko.properties, * resource/gnu/java/locale/LocaleInformation_kok.properties, * resource/gnu/java/locale/LocaleInformation_kpe.properties, * resource/gnu/java/locale/LocaleInformation_ku_Latn.properties, * resource/gnu/java/locale/LocaleInformation_kw.properties, * resource/gnu/java/locale/LocaleInformation_ky.properties, * resource/gnu/java/locale/LocaleInformation_ln.properties, * resource/gnu/java/locale/LocaleInformation_lo.properties, * resource/gnu/java/locale/LocaleInformation_lt.properties, * resource/gnu/java/locale/LocaleInformation_lv.properties, * resource/gnu/java/locale/LocaleInformation_mk.properties, * resource/gnu/java/locale/LocaleInformation_ml.properties, * resource/gnu/java/locale/LocaleInformation_mn.properties, * resource/gnu/java/locale/LocaleInformation_mr.properties, * resource/gnu/java/locale/LocaleInformation_ms.properties, * resource/gnu/java/locale/LocaleInformation_mt.properties, * resource/gnu/java/locale/LocaleInformation_my.properties, * resource/gnu/java/locale/LocaleInformation_nb.properties, * resource/gnu/java/locale/LocaleInformation_ne.properties, * resource/gnu/java/locale/LocaleInformation_nl.properties, * resource/gnu/java/locale/LocaleInformation_nn.properties, * resource/gnu/java/locale/LocaleInformation_nr.properties, * resource/gnu/java/locale/LocaleInformation_nso.properties, * resource/gnu/java/locale/LocaleInformation_ny.properties, * resource/gnu/java/locale/LocaleInformation_om.properties, * resource/gnu/java/locale/LocaleInformation_or.properties, * resource/gnu/java/locale/LocaleInformation_pa.properties, * resource/gnu/java/locale/LocaleInformation_pa_Arab.properties, * resource/gnu/java/locale/LocaleInformation_pl.properties, * resource/gnu/java/locale/LocaleInformation_ps.properties, * resource/gnu/java/locale/LocaleInformation_pt.properties, * resource/gnu/java/locale/LocaleInformation_pt_PT.properties, * resource/gnu/java/locale/LocaleInformation_ro.properties, * resource/gnu/java/locale/LocaleInformation_ru.properties, * resource/gnu/java/locale/LocaleInformation_rw.properties, * resource/gnu/java/locale/LocaleInformation_sa.properties, * resource/gnu/java/locale/LocaleInformation_se.properties, * resource/gnu/java/locale/LocaleInformation_se_FI.properties, * resource/gnu/java/locale/LocaleInformation_si.properties, * resource/gnu/java/locale/LocaleInformation_sid.properties, * resource/gnu/java/locale/LocaleInformation_sk.properties, * resource/gnu/java/locale/LocaleInformation_sl.properties, * resource/gnu/java/locale/LocaleInformation_so.properties, * resource/gnu/java/locale/LocaleInformation_sq.properties, * resource/gnu/java/locale/LocaleInformation_sr.properties, * resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties, * resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, * resource/gnu/java/locale/LocaleInformation_ss.properties, * resource/gnu/java/locale/LocaleInformation_st.properties, * resource/gnu/java/locale/LocaleInformation_sv.properties, * resource/gnu/java/locale/LocaleInformation_sw.properties, * resource/gnu/java/locale/LocaleInformation_syr.properties, * resource/gnu/java/locale/LocaleInformation_ta.properties, * resource/gnu/java/locale/LocaleInformation_te.properties, * resource/gnu/java/locale/LocaleInformation_tg.properties, * resource/gnu/java/locale/LocaleInformation_th.properties, * resource/gnu/java/locale/LocaleInformation_ti.properties, * resource/gnu/java/locale/LocaleInformation_ti_ER.properties, * resource/gnu/java/locale/LocaleInformation_tig.properties, * resource/gnu/java/locale/LocaleInformation_tn.properties, * resource/gnu/java/locale/LocaleInformation_to.properties, * resource/gnu/java/locale/LocaleInformation_tr.properties, * resource/gnu/java/locale/LocaleInformation_trv.properties, * resource/gnu/java/locale/LocaleInformation_ts.properties, * resource/gnu/java/locale/LocaleInformation_tt.properties, * resource/gnu/java/locale/LocaleInformation_ug.properties, * resource/gnu/java/locale/LocaleInformation_uk.properties, * resource/gnu/java/locale/LocaleInformation_ur.properties, * resource/gnu/java/locale/LocaleInformation_uz.properties, * resource/gnu/java/locale/LocaleInformation_uz_Arab.properties, * resource/gnu/java/locale/LocaleInformation_uz_Latn.properties, * resource/gnu/java/locale/LocaleInformation_ve.properties, * resource/gnu/java/locale/LocaleInformation_vi.properties, * resource/gnu/java/locale/LocaleInformation_wal.properties, * resource/gnu/java/locale/LocaleInformation_wo.properties, * resource/gnu/java/locale/LocaleInformation_xh.properties, * resource/gnu/java/locale/LocaleInformation_yo.properties, * resource/gnu/java/locale/LocaleInformation_zh.properties, * resource/gnu/java/locale/LocaleInformation_zh_Hant.properties, * resource/gnu/java/locale/LocaleInformation_zu.properties: Update locale data without trailing separator. --- ChangeLog | 169 +++++++++++++++++++++ java/text/DateFormatSymbols.java | 2 +- .../gnu/java/locale/LocaleInformation.properties | 8 +- .../java/locale/LocaleInformation_aa.properties | 8 +- .../java/locale/LocaleInformation_aa_DJ.properties | 2 +- .../LocaleInformation_aa_ER_SAAHO.properties | 4 +- .../java/locale/LocaleInformation_af.properties | 8 +- .../java/locale/LocaleInformation_ak.properties | 8 +- .../java/locale/LocaleInformation_am.properties | 8 +- .../java/locale/LocaleInformation_ar.properties | 8 +- .../java/locale/LocaleInformation_ar_JO.properties | 6 +- .../java/locale/LocaleInformation_ar_LB.properties | 6 +- .../java/locale/LocaleInformation_ar_QA.properties | 2 +- .../java/locale/LocaleInformation_ar_SA.properties | 2 +- .../java/locale/LocaleInformation_ar_SY.properties | 6 +- .../java/locale/LocaleInformation_ar_TN.properties | 2 +- .../java/locale/LocaleInformation_ar_YE.properties | 2 +- .../java/locale/LocaleInformation_as.properties | 8 +- .../java/locale/LocaleInformation_az.properties | 8 +- .../locale/LocaleInformation_az_Cyrl.properties | 4 +- .../java/locale/LocaleInformation_be.properties | 8 +- .../java/locale/LocaleInformation_bg.properties | 8 +- .../java/locale/LocaleInformation_bn.properties | 8 +- .../java/locale/LocaleInformation_bs.properties | 8 +- .../java/locale/LocaleInformation_byn.properties | 8 +- .../java/locale/LocaleInformation_ca.properties | 8 +- .../java/locale/LocaleInformation_cch.properties | 8 +- .../java/locale/LocaleInformation_cop.properties | 8 +- .../java/locale/LocaleInformation_cs.properties | 8 +- .../java/locale/LocaleInformation_cy.properties | 8 +- .../java/locale/LocaleInformation_da.properties | 8 +- .../java/locale/LocaleInformation_de.properties | 8 +- .../java/locale/LocaleInformation_de_AT.properties | 4 +- .../java/locale/LocaleInformation_de_BE.properties | 4 +- .../java/locale/LocaleInformation_dv.properties | 8 +- .../java/locale/LocaleInformation_dz.properties | 8 +- .../java/locale/LocaleInformation_ee.properties | 8 +- .../java/locale/LocaleInformation_el.properties | 8 +- .../java/locale/LocaleInformation_en.properties | 8 +- .../locale/LocaleInformation_en_Dsrt.properties | 8 +- .../locale/LocaleInformation_en_Shaw.properties | 8 +- .../java/locale/LocaleInformation_eo.properties | 8 +- .../java/locale/LocaleInformation_es.properties | 8 +- .../java/locale/LocaleInformation_et.properties | 8 +- .../java/locale/LocaleInformation_eu.properties | 8 +- .../java/locale/LocaleInformation_fa.properties | 8 +- .../java/locale/LocaleInformation_fa_AF.properties | 4 +- .../java/locale/LocaleInformation_fi.properties | 8 +- .../java/locale/LocaleInformation_fil.properties | 8 +- .../java/locale/LocaleInformation_fo.properties | 8 +- .../java/locale/LocaleInformation_fr.properties | 8 +- .../java/locale/LocaleInformation_fur.properties | 8 +- .../java/locale/LocaleInformation_ga.properties | 8 +- .../java/locale/LocaleInformation_gaa.properties | 8 +- .../java/locale/LocaleInformation_gez.properties | 8 +- .../java/locale/LocaleInformation_gl.properties | 8 +- .../java/locale/LocaleInformation_gu.properties | 8 +- .../java/locale/LocaleInformation_gv.properties | 8 +- .../java/locale/LocaleInformation_ha.properties | 8 +- .../locale/LocaleInformation_ha_Arab.properties | 8 +- .../java/locale/LocaleInformation_haw.properties | 8 +- .../java/locale/LocaleInformation_he.properties | 8 +- .../java/locale/LocaleInformation_hi.properties | 8 +- .../java/locale/LocaleInformation_hr.properties | 8 +- .../java/locale/LocaleInformation_hu.properties | 8 +- .../java/locale/LocaleInformation_hy.properties | 8 +- .../LocaleInformation_hy_AM_REVISED.properties | 4 +- .../java/locale/LocaleInformation_ia.properties | 8 +- .../java/locale/LocaleInformation_id.properties | 8 +- .../java/locale/LocaleInformation_ig.properties | 8 +- .../java/locale/LocaleInformation_ii.properties | 8 +- .../java/locale/LocaleInformation_is.properties | 8 +- .../java/locale/LocaleInformation_it.properties | 8 +- .../java/locale/LocaleInformation_iu.properties | 8 +- .../java/locale/LocaleInformation_ja.properties | 8 +- .../java/locale/LocaleInformation_ka.properties | 8 +- .../java/locale/LocaleInformation_kaj.properties | 8 +- .../java/locale/LocaleInformation_kam.properties | 8 +- .../java/locale/LocaleInformation_kcg.properties | 8 +- .../java/locale/LocaleInformation_kfo.properties | 8 +- .../java/locale/LocaleInformation_kk.properties | 8 +- .../java/locale/LocaleInformation_kl.properties | 8 +- .../java/locale/LocaleInformation_km.properties | 8 +- .../java/locale/LocaleInformation_kn.properties | 8 +- .../java/locale/LocaleInformation_ko.properties | 8 +- .../java/locale/LocaleInformation_kok.properties | 8 +- .../java/locale/LocaleInformation_kpe.properties | 8 +- .../locale/LocaleInformation_ku_Latn.properties | 8 +- .../java/locale/LocaleInformation_kw.properties | 8 +- .../java/locale/LocaleInformation_ky.properties | 8 +- .../java/locale/LocaleInformation_ln.properties | 8 +- .../java/locale/LocaleInformation_lo.properties | 8 +- .../java/locale/LocaleInformation_lt.properties | 8 +- .../java/locale/LocaleInformation_lv.properties | 8 +- .../java/locale/LocaleInformation_mk.properties | 8 +- .../java/locale/LocaleInformation_ml.properties | 8 +- .../java/locale/LocaleInformation_mn.properties | 8 +- .../java/locale/LocaleInformation_mr.properties | 8 +- .../java/locale/LocaleInformation_ms.properties | 8 +- .../java/locale/LocaleInformation_mt.properties | 8 +- .../java/locale/LocaleInformation_my.properties | 8 +- .../java/locale/LocaleInformation_nb.properties | 8 +- .../java/locale/LocaleInformation_ne.properties | 8 +- .../java/locale/LocaleInformation_nl.properties | 8 +- .../java/locale/LocaleInformation_nn.properties | 8 +- .../java/locale/LocaleInformation_nr.properties | 8 +- .../java/locale/LocaleInformation_nso.properties | 8 +- .../java/locale/LocaleInformation_ny.properties | 8 +- .../java/locale/LocaleInformation_om.properties | 8 +- .../java/locale/LocaleInformation_or.properties | 8 +- .../java/locale/LocaleInformation_pa.properties | 8 +- .../locale/LocaleInformation_pa_Arab.properties | 4 +- .../java/locale/LocaleInformation_pl.properties | 8 +- .../java/locale/LocaleInformation_ps.properties | 8 +- .../java/locale/LocaleInformation_pt.properties | 8 +- .../java/locale/LocaleInformation_pt_PT.properties | 4 +- .../java/locale/LocaleInformation_ro.properties | 8 +- .../java/locale/LocaleInformation_ru.properties | 8 +- .../java/locale/LocaleInformation_rw.properties | 8 +- .../java/locale/LocaleInformation_sa.properties | 8 +- .../java/locale/LocaleInformation_se.properties | 8 +- .../java/locale/LocaleInformation_se_FI.properties | 6 +- .../java/locale/LocaleInformation_si.properties | 8 +- .../java/locale/LocaleInformation_sid.properties | 8 +- .../java/locale/LocaleInformation_sk.properties | 8 +- .../java/locale/LocaleInformation_sl.properties | 8 +- .../java/locale/LocaleInformation_so.properties | 8 +- .../java/locale/LocaleInformation_sq.properties | 8 +- .../java/locale/LocaleInformation_sr.properties | 8 +- .../locale/LocaleInformation_sr_BA_Cyrl.properties | 6 +- .../locale/LocaleInformation_sr_Latn.properties | 8 +- .../java/locale/LocaleInformation_ss.properties | 8 +- .../java/locale/LocaleInformation_st.properties | 8 +- .../java/locale/LocaleInformation_sv.properties | 8 +- .../java/locale/LocaleInformation_sw.properties | 8 +- .../java/locale/LocaleInformation_syr.properties | 8 +- .../java/locale/LocaleInformation_ta.properties | 8 +- .../java/locale/LocaleInformation_te.properties | 8 +- .../java/locale/LocaleInformation_tg.properties | 8 +- .../java/locale/LocaleInformation_th.properties | 8 +- .../java/locale/LocaleInformation_ti.properties | 8 +- .../java/locale/LocaleInformation_ti_ER.properties | 8 +- .../java/locale/LocaleInformation_tig.properties | 8 +- .../java/locale/LocaleInformation_tn.properties | 8 +- .../java/locale/LocaleInformation_to.properties | 8 +- .../java/locale/LocaleInformation_tr.properties | 8 +- .../java/locale/LocaleInformation_trv.properties | 8 +- .../java/locale/LocaleInformation_ts.properties | 8 +- .../java/locale/LocaleInformation_tt.properties | 8 +- .../java/locale/LocaleInformation_ug.properties | 8 +- .../java/locale/LocaleInformation_uk.properties | 8 +- .../java/locale/LocaleInformation_ur.properties | 4 +- .../java/locale/LocaleInformation_uz.properties | 8 +- .../locale/LocaleInformation_uz_Arab.properties | 8 +- .../locale/LocaleInformation_uz_Latn.properties | 8 +- .../java/locale/LocaleInformation_ve.properties | 8 +- .../java/locale/LocaleInformation_vi.properties | 8 +- .../java/locale/LocaleInformation_wal.properties | 8 +- .../java/locale/LocaleInformation_wo.properties | 8 +- .../java/locale/LocaleInformation_xh.properties | 8 +- .../java/locale/LocaleInformation_yo.properties | 8 +- .../java/locale/LocaleInformation_zh.properties | 8 +- .../locale/LocaleInformation_zh_Hant.properties | 2 +- .../java/locale/LocaleInformation_zu.properties | 8 +- 164 files changed, 777 insertions(+), 608 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9865f806d..9a681d546 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,172 @@ +2012-02-15 Andrew John Hughes + + * java/text/DateFormatSymbols.java: + (getStringArray(List,String,int,String)): Remove hack which + removes last character of the input data; now unnecessary. + * resource/gnu/java/locale/LocaleInformation.properties, + * resource/gnu/java/locale/LocaleInformation_aa.properties, + * resource/gnu/java/locale/LocaleInformation_aa_DJ.properties, + * resource/gnu/java/locale/LocaleInformation_aa_ER_SAAHO.properties, + * resource/gnu/java/locale/LocaleInformation_af.properties, + * resource/gnu/java/locale/LocaleInformation_ak.properties, + * resource/gnu/java/locale/LocaleInformation_am.properties, + * resource/gnu/java/locale/LocaleInformation_ar.properties, + * resource/gnu/java/locale/LocaleInformation_ar_JO.properties, + * resource/gnu/java/locale/LocaleInformation_ar_LB.properties, + * resource/gnu/java/locale/LocaleInformation_ar_QA.properties, + * resource/gnu/java/locale/LocaleInformation_ar_SA.properties, + * resource/gnu/java/locale/LocaleInformation_ar_SY.properties, + * resource/gnu/java/locale/LocaleInformation_ar_TN.properties, + * resource/gnu/java/locale/LocaleInformation_ar_YE.properties, + * resource/gnu/java/locale/LocaleInformation_as.properties, + * resource/gnu/java/locale/LocaleInformation_az.properties, + * resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties, + * resource/gnu/java/locale/LocaleInformation_be.properties, + * resource/gnu/java/locale/LocaleInformation_bg.properties, + * resource/gnu/java/locale/LocaleInformation_bn.properties, + * resource/gnu/java/locale/LocaleInformation_bs.properties, + * resource/gnu/java/locale/LocaleInformation_byn.properties, + * resource/gnu/java/locale/LocaleInformation_ca.properties, + * resource/gnu/java/locale/LocaleInformation_cch.properties, + * resource/gnu/java/locale/LocaleInformation_cop.properties, + * resource/gnu/java/locale/LocaleInformation_cs.properties, + * resource/gnu/java/locale/LocaleInformation_cy.properties, + * resource/gnu/java/locale/LocaleInformation_da.properties, + * resource/gnu/java/locale/LocaleInformation_de.properties, + * resource/gnu/java/locale/LocaleInformation_de_AT.properties, + * resource/gnu/java/locale/LocaleInformation_de_BE.properties, + * resource/gnu/java/locale/LocaleInformation_dv.properties, + * resource/gnu/java/locale/LocaleInformation_dz.properties, + * resource/gnu/java/locale/LocaleInformation_ee.properties, + * resource/gnu/java/locale/LocaleInformation_el.properties, + * resource/gnu/java/locale/LocaleInformation_en.properties, + * resource/gnu/java/locale/LocaleInformation_en_Dsrt.properties, + * resource/gnu/java/locale/LocaleInformation_en_Shaw.properties, + * resource/gnu/java/locale/LocaleInformation_eo.properties, + * resource/gnu/java/locale/LocaleInformation_es.properties, + * resource/gnu/java/locale/LocaleInformation_et.properties, + * resource/gnu/java/locale/LocaleInformation_eu.properties, + * resource/gnu/java/locale/LocaleInformation_fa.properties, + * resource/gnu/java/locale/LocaleInformation_fa_AF.properties, + * resource/gnu/java/locale/LocaleInformation_fi.properties, + * resource/gnu/java/locale/LocaleInformation_fil.properties, + * resource/gnu/java/locale/LocaleInformation_fo.properties, + * resource/gnu/java/locale/LocaleInformation_fr.properties, + * resource/gnu/java/locale/LocaleInformation_fur.properties, + * resource/gnu/java/locale/LocaleInformation_ga.properties, + * resource/gnu/java/locale/LocaleInformation_gaa.properties, + * resource/gnu/java/locale/LocaleInformation_gez.properties, + * resource/gnu/java/locale/LocaleInformation_gl.properties, + * resource/gnu/java/locale/LocaleInformation_gu.properties, + * resource/gnu/java/locale/LocaleInformation_gv.properties, + * resource/gnu/java/locale/LocaleInformation_ha.properties, + * resource/gnu/java/locale/LocaleInformation_ha_Arab.properties, + * resource/gnu/java/locale/LocaleInformation_haw.properties, + * resource/gnu/java/locale/LocaleInformation_he.properties, + * resource/gnu/java/locale/LocaleInformation_hi.properties, + * resource/gnu/java/locale/LocaleInformation_hr.properties, + * resource/gnu/java/locale/LocaleInformation_hu.properties, + * resource/gnu/java/locale/LocaleInformation_hy.properties, + * resource/gnu/java/locale/LocaleInformation_hy_AM_REVISED.properties, + * resource/gnu/java/locale/LocaleInformation_ia.properties, + * resource/gnu/java/locale/LocaleInformation_id.properties, + * resource/gnu/java/locale/LocaleInformation_ig.properties, + * resource/gnu/java/locale/LocaleInformation_ii.properties, + * resource/gnu/java/locale/LocaleInformation_is.properties, + * resource/gnu/java/locale/LocaleInformation_it.properties, + * resource/gnu/java/locale/LocaleInformation_iu.properties, + * resource/gnu/java/locale/LocaleInformation_ja.properties, + * resource/gnu/java/locale/LocaleInformation_ka.properties, + * resource/gnu/java/locale/LocaleInformation_kaj.properties, + * resource/gnu/java/locale/LocaleInformation_kam.properties, + * resource/gnu/java/locale/LocaleInformation_kcg.properties, + * resource/gnu/java/locale/LocaleInformation_kfo.properties, + * resource/gnu/java/locale/LocaleInformation_kk.properties, + * resource/gnu/java/locale/LocaleInformation_kl.properties, + * resource/gnu/java/locale/LocaleInformation_km.properties, + * resource/gnu/java/locale/LocaleInformation_kn.properties, + * resource/gnu/java/locale/LocaleInformation_ko.properties, + * resource/gnu/java/locale/LocaleInformation_kok.properties, + * resource/gnu/java/locale/LocaleInformation_kpe.properties, + * resource/gnu/java/locale/LocaleInformation_ku_Latn.properties, + * resource/gnu/java/locale/LocaleInformation_kw.properties, + * resource/gnu/java/locale/LocaleInformation_ky.properties, + * resource/gnu/java/locale/LocaleInformation_ln.properties, + * resource/gnu/java/locale/LocaleInformation_lo.properties, + * resource/gnu/java/locale/LocaleInformation_lt.properties, + * resource/gnu/java/locale/LocaleInformation_lv.properties, + * resource/gnu/java/locale/LocaleInformation_mk.properties, + * resource/gnu/java/locale/LocaleInformation_ml.properties, + * resource/gnu/java/locale/LocaleInformation_mn.properties, + * resource/gnu/java/locale/LocaleInformation_mr.properties, + * resource/gnu/java/locale/LocaleInformation_ms.properties, + * resource/gnu/java/locale/LocaleInformation_mt.properties, + * resource/gnu/java/locale/LocaleInformation_my.properties, + * resource/gnu/java/locale/LocaleInformation_nb.properties, + * resource/gnu/java/locale/LocaleInformation_ne.properties, + * resource/gnu/java/locale/LocaleInformation_nl.properties, + * resource/gnu/java/locale/LocaleInformation_nn.properties, + * resource/gnu/java/locale/LocaleInformation_nr.properties, + * resource/gnu/java/locale/LocaleInformation_nso.properties, + * resource/gnu/java/locale/LocaleInformation_ny.properties, + * resource/gnu/java/locale/LocaleInformation_om.properties, + * resource/gnu/java/locale/LocaleInformation_or.properties, + * resource/gnu/java/locale/LocaleInformation_pa.properties, + * resource/gnu/java/locale/LocaleInformation_pa_Arab.properties, + * resource/gnu/java/locale/LocaleInformation_pl.properties, + * resource/gnu/java/locale/LocaleInformation_ps.properties, + * resource/gnu/java/locale/LocaleInformation_pt.properties, + * resource/gnu/java/locale/LocaleInformation_pt_PT.properties, + * resource/gnu/java/locale/LocaleInformation_ro.properties, + * resource/gnu/java/locale/LocaleInformation_ru.properties, + * resource/gnu/java/locale/LocaleInformation_rw.properties, + * resource/gnu/java/locale/LocaleInformation_sa.properties, + * resource/gnu/java/locale/LocaleInformation_se.properties, + * resource/gnu/java/locale/LocaleInformation_se_FI.properties, + * resource/gnu/java/locale/LocaleInformation_si.properties, + * resource/gnu/java/locale/LocaleInformation_sid.properties, + * resource/gnu/java/locale/LocaleInformation_sk.properties, + * resource/gnu/java/locale/LocaleInformation_sl.properties, + * resource/gnu/java/locale/LocaleInformation_so.properties, + * resource/gnu/java/locale/LocaleInformation_sq.properties, + * resource/gnu/java/locale/LocaleInformation_sr.properties, + * resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties, + * resource/gnu/java/locale/LocaleInformation_sr_Latn.properties, + * resource/gnu/java/locale/LocaleInformation_ss.properties, + * resource/gnu/java/locale/LocaleInformation_st.properties, + * resource/gnu/java/locale/LocaleInformation_sv.properties, + * resource/gnu/java/locale/LocaleInformation_sw.properties, + * resource/gnu/java/locale/LocaleInformation_syr.properties, + * resource/gnu/java/locale/LocaleInformation_ta.properties, + * resource/gnu/java/locale/LocaleInformation_te.properties, + * resource/gnu/java/locale/LocaleInformation_tg.properties, + * resource/gnu/java/locale/LocaleInformation_th.properties, + * resource/gnu/java/locale/LocaleInformation_ti.properties, + * resource/gnu/java/locale/LocaleInformation_ti_ER.properties, + * resource/gnu/java/locale/LocaleInformation_tig.properties, + * resource/gnu/java/locale/LocaleInformation_tn.properties, + * resource/gnu/java/locale/LocaleInformation_to.properties, + * resource/gnu/java/locale/LocaleInformation_tr.properties, + * resource/gnu/java/locale/LocaleInformation_trv.properties, + * resource/gnu/java/locale/LocaleInformation_ts.properties, + * resource/gnu/java/locale/LocaleInformation_tt.properties, + * resource/gnu/java/locale/LocaleInformation_ug.properties, + * resource/gnu/java/locale/LocaleInformation_uk.properties, + * resource/gnu/java/locale/LocaleInformation_ur.properties, + * resource/gnu/java/locale/LocaleInformation_uz.properties, + * resource/gnu/java/locale/LocaleInformation_uz_Arab.properties, + * resource/gnu/java/locale/LocaleInformation_uz_Latn.properties, + * resource/gnu/java/locale/LocaleInformation_ve.properties, + * resource/gnu/java/locale/LocaleInformation_vi.properties, + * resource/gnu/java/locale/LocaleInformation_wal.properties, + * resource/gnu/java/locale/LocaleInformation_wo.properties, + * resource/gnu/java/locale/LocaleInformation_xh.properties, + * resource/gnu/java/locale/LocaleInformation_yo.properties, + * resource/gnu/java/locale/LocaleInformation_zh.properties, + * resource/gnu/java/locale/LocaleInformation_zh_Hant.properties, + * resource/gnu/java/locale/LocaleInformation_zu.properties: + Update locale data without trailing separator. + 2012-02-08 Andrew John Hughes PR classpath/42390 diff --git a/java/text/DateFormatSymbols.java b/java/text/DateFormatSymbols.java index 09ec1aec8..53e7ba07c 100644 --- a/java/text/DateFormatSymbols.java +++ b/java/text/DateFormatSymbols.java @@ -161,7 +161,7 @@ public class DateFormatSymbols implements java.io.Serializable, Cloneable for (int a = 0; a < bundles.size(); ++a) { String localeData = bundles.get(a).getString(name); - String[] array = localeData.substring(0, localeData.length() -1).split("\u00ae", size); + String[] array = localeData.split("\u00ae", size); for (int b = 0; b < data.length; ++b) { if (array.length > b && array[b] != null && data[b].isEmpty() && !array[b].isEmpty()) diff --git a/resource/gnu/java/locale/LocaleInformation.properties b/resource/gnu/java/locale/LocaleInformation.properties index 34e4e000a..7ff626f78 100644 --- a/resource/gnu/java/locale/LocaleInformation.properties +++ b/resource/gnu/java/locale/LocaleInformation.properties @@ -32,10 +32,10 @@ currenciesSymbol.INR=0\u2264Rs.|1\u2264Re.|1