Commit Graph

851 Commits

Author SHA1 Message Date
Abhinav Gupta
7e90359b1a ICU-8268 null check of value previously dereferenced.
A value is null-checked after it has already been dereferenced. If it was
null, it would never get to the check because of NullPointerException.

X-SVN-Rev: 30732
2011-09-28 20:29:19 +00:00
Abhinav Gupta
e20dcd910d ICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.
X-SVN-Rev: 30730
2011-09-28 14:46:11 +00:00
Markus Scherer
077d3a16e0 ICU-8779 add UNKNOWN_ZONE & GMT_ZONE
X-SVN-Rev: 30728
2011-09-27 23:52:04 +00:00
Abhinav Gupta
c2769af599 ICU-8268 return value was ignored.
Return value of string concatenation was ignored. Results in invalid data.

X-SVN-Rev: 30726
2011-09-27 19:50:26 +00:00
Abhinav Gupta
c9b90e11db ICU-8268 dead store to local variable.
A value is assigned to a local variable but never read again.

Signed-off-by: Abhinav Gupta <abhinavg@ca.ibm.com>

X-SVN-Rev: 30725
2011-09-27 19:50:19 +00:00
Abhinav Gupta
b58534a609 ICU-8268 impossible cast from double[] to int[].
Java doesn't allow casting array of type A to array of type B. The elements
have to be manually casted.

X-SVN-Rev: 30723
2011-09-27 19:49:59 +00:00
Abhinav Gupta
2fe1f01851 ICU-8268 Illegal format string %04lx fixed.
X-SVN-Rev: 30722
2011-09-27 19:49:51 +00:00
Abhinav Gupta
55e9ba2738 ICU-8268 Inefficient use of Map.keySet. Use entrySet instead.
X-SVN-Rev: 30721
2011-09-27 19:49:44 +00:00
Abhinav Gupta
b8f1bb9223 ICU-8268 concatenation of strings using + in a loop is inefficient. Use StringBuilder.
X-SVN-Rev: 30720
2011-09-27 18:15:21 +00:00
Abhinav Gupta
811b9905c8 ICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.
X-SVN-Rev: 30719
2011-09-27 18:15:12 +00:00
Abhinav Gupta
a65971645c ICU-8268 repeated conditional test
X-SVN-Rev: 30718
2011-09-27 18:15:03 +00:00
Abhinav Gupta
d96782f661 ICU-8268 update copyrights of previously touched files
X-SVN-Rev: 30717
2011-09-27 18:14:53 +00:00
Abhinav Gupta
d00e5b14fb ICU-8328 switched to separate icudata.jar and icutzdata.jar
X-SVN-Rev: 30710
2011-09-26 15:30:39 +00:00
Angshuman Deb
aab73b3bb7 ICU-8796 fixed Javadoc with {@icuenhanced} tag
X-SVN-Rev: 30694
2011-09-20 01:40:44 +00:00
John Emmons
42a46a6e1e ICU-8811 Regen of CLDR data with no commonlyUsed
X-SVN-Rev: 30684
2011-09-19 16:14:43 +00:00
John Emmons
adc6836918 ICU-8821 Handle no inheritance marker in ICU4J
X-SVN-Rev: 30683
2011-09-19 16:10:48 +00:00
Markus Scherer
28e4515617 ICU-8788 deprecate ChoiceFormat
X-SVN-Rev: 30674
2011-09-16 00:24:27 +00:00
Peter Edberg
99fa6505ef ICU-8753 Fix ICU4J Calendar.add() to handle change in ZONE_OFFSET
X-SVN-Rev: 30660
2011-09-15 04:22:55 +00:00
Yoshito Umaoka
684bbcecfe ICU-8512 Prmoting previously tech preview TimeZoneNames/TimeZoneFormat APIs to draft. Implementing explicit serialization. Removed the logic for commonlyUsed flag for short names (#8811). Let TimeZoneNameImpl fail when it cannot load necessary data.
X-SVN-Rev: 30659
2011-09-15 01:57:16 +00:00
Mark Davis
acf033775b ICU-8816 Fix missing code to utilize fast frozen data structure.
X-SVN-Rev: 30654
2011-09-13 22:13:48 +00:00
Michael Ow
739dc92460 ICU-8815 Update alias table in ICU4J data
X-SVN-Rev: 30653
2011-09-13 21:35:51 +00:00
Michael Ow
844d3c5e1f ICU-8795 Remove suffix when CharsetMatch is creating a new string
X-SVN-Rev: 30648
2011-09-13 18:10:10 +00:00
Yoshito Umaoka
a6f627d664 ICU-8592 tzdata2011j to ICU4J
X-SVN-Rev: 30645
2011-09-12 19:37:31 +00:00
Mark Davis
666e129847 ICU-8807 Fix constant that can't be changed until U6.1
X-SVN-Rev: 30641
2011-09-09 18:16:53 +00:00
Mark Davis
5b237cf6bb ICU-8807 cleanup warnings
X-SVN-Rev: 30640
2011-09-08 23:07:29 +00:00
Mark Davis
c47d4fdbd7 ICU-8808 add access to punctuation characters
X-SVN-Rev: 30639
2011-09-08 22:38:05 +00:00
Mark Davis
e3546c39d6 ICU-8807 Add internal changes for use in unicode tools. Adds internal API, but doesn't change behavior if that is not called.
X-SVN-Rev: 30638
2011-09-08 22:28:40 +00:00
Markus Scherer
693640fd13 ICU-8805 fix some MessagePattern API comments
X-SVN-Rev: 30636
2011-09-08 19:27:48 +00:00
Markus Scherer
49407c6a1e ICU-8806 fix MessageFormat plural # formatting: fix offset lookup
X-SVN-Rev: 30634
2011-09-07 23:02:21 +00:00
Yoshito Umaoka
27b6a943bc ICU-8769 Reverted the previous change because of loading status issue. Move the cache to ICUResourceBundleReader that actually hold the resource data. Moved pool key bundle initialization to ICUResourceBundle to prevent cached instances modified by other classes.
X-SVN-Rev: 30633
2011-09-07 22:47:55 +00:00
Yoshito Umaoka
3959df3834 ICU-8769 Brought back ICUResourceBundle cache with improved cache logic.
X-SVN-Rev: 30627
2011-09-07 04:45:20 +00:00
John Emmons
2abb6e6d3b ICU-8423 Use stand-alone form of script name if possible in getDisplayScript() APIs
X-SVN-Rev: 30621
2011-09-06 20:28:21 +00:00
John Emmons
34cbf1552e ICU-8423 Data to support stand-alone script names
X-SVN-Rev: 30617
2011-09-02 01:08:00 +00:00
Yoshito Umaoka
33f643ba29 ICU-8592 tzdata2011i to ICU4J. Also includes updates from CLDR (rev#6121)
X-SVN-Rev: 30589
2011-08-29 22:04:18 +00:00
John Emmons
d3f81bfa50 ICU-8611 Allow number patterns to be looked up by numbering system
X-SVN-Rev: 30576
2011-08-24 22:33:08 +00:00
Michael Ow
dd8732a309 ICU-7365 Promote approved data version API to draft 49 in ICU4J
X-SVN-Rev: 30571
2011-08-23 17:24:11 +00:00
Yoshito Umaoka
02375bb109 ICU-8630 Follow up fix - ULocale#setDefault(ULocale) to synchronize default Locale properly.
X-SVN-Rev: 30549
2011-08-19 20:44:12 +00:00
Markus Scherer
6a3384cfa2 ICU-8745 docs & comments from code review
X-SVN-Rev: 30533
2011-08-16 23:04:09 +00:00
Yoshito Umaoka
1487205b1a ICU-8766 Fixed a regression bug - wrong parse position with RFC822 time zone format.
X-SVN-Rev: 30514
2011-08-16 16:35:02 +00:00
Markus Scherer
69c0605df2 ICU-8745 merge MessagePatternUtil into trunk, from merge --reintegrate branches/markus/msgnodes from r30506
X-SVN-Rev: 30510
2011-08-15 21:09:39 +00:00
Yoshito Umaoka
d895f91300 ICU-8630 A few more API doc updates explaining default locale type to be used
X-SVN-Rev: 30496
2011-08-12 15:31:37 +00:00
Yoshito Umaoka
2ae8b05602 ICU-8630 Category locale support for Java 7 conformance.
X-SVN-Rev: 30487
2011-08-11 19:53:36 +00:00
John Emmons
021caab7ea ICU-8713 Fix Polish number spellings
X-SVN-Rev: 30466
2011-08-04 20:48:20 +00:00
John Emmons
1536eaa553 ICU-8722 Update German short/generic tz names
X-SVN-Rev: 30461
2011-08-03 22:14:36 +00:00
Yoshito Umaoka
5037790845 ICU-8734 ULocale.getDefault to return ULocale.ROOT when it is called when default ULocale is being initialized.
X-SVN-Rev: 30440
2011-07-28 17:55:33 +00:00
Yoshito Umaoka
09ac0d986b ICU-8518 Fixed a potential bug (toLowerCase, Calendar class name/type mismatch) in the DateFormatSymbols constructor taking a Calendar class as an argument.
X-SVN-Rev: 30439
2011-07-28 16:40:37 +00:00
Michael Ow
ddaa367fa9 ICU-8729 Fix source buffer's array offset handling error
X-SVN-Rev: 30420
2011-07-25 22:18:42 +00:00
Yoshito Umaoka
b9500da3b5 ICU-8710 One more Java compiler warning fix for ICU4J 4.8.1
X-SVN-Rev: 30359
2011-07-14 22:50:51 +00:00
Yoshito Umaoka
05a386320e ICU-8710 Fix Eclipse Java compiler warnings relevant to ICU4J 4.8.1
X-SVN-Rev: 30358
2011-07-14 22:35:58 +00:00
John Emmons
a0a3f56e8b ICU-8709 Merge CLDR ticket 4038 ( Spanish currency format)
X-SVN-Rev: 30357
2011-07-14 22:31:40 +00:00