]> granicus.if.org Git - icu/log
icu
13 years agoICU-7635 Reintroduce testcase in platform neutral fashion
John Emmons [Wed, 26 Oct 2011 14:39:51 +0000 (14:39 +0000)]
ICU-7635 Reintroduce testcase in platform neutral fashion

X-SVN-Rev: 30875

13 years agoICU-8904 "ar not found" should be a warning, not an error.
Steven R. Loomis [Wed, 26 Oct 2011 14:17:04 +0000 (14:17 +0000)]
ICU-8904 "ar not found" should be a warning, not an error.

X-SVN-Rev: 30874

13 years agoICU-7635 Back out the testcase until it can be made platform neutral
John Emmons [Wed, 26 Oct 2011 05:02:16 +0000 (05:02 +0000)]
ICU-7635 Back out the testcase until it can be made platform neutral

X-SVN-Rev: 30873

13 years agoICU-8827 Unicode 6.1 tools update
Markus Scherer [Wed, 26 Oct 2011 04:41:57 +0000 (04:41 +0000)]
ICU-8827 Unicode 6.1 tools update

X-SVN-Rev: 30870

13 years agoICU-7635 Back out the testcase until it can be made platform neutral
John Emmons [Wed, 26 Oct 2011 03:38:58 +0000 (03:38 +0000)]
ICU-7635 Back out the testcase until it can be made platform neutral

X-SVN-Rev: 30869

13 years agoICU-7635 Modify toString method to handle >>>
John Emmons [Wed, 26 Oct 2011 02:16:23 +0000 (02:16 +0000)]
ICU-7635 Modify toString method to handle >>>

X-SVN-Rev: 30868

13 years agoICU-8854 string concatenation in loop using + operator
Abhinav Gupta [Mon, 24 Oct 2011 19:24:17 +0000 (19:24 +0000)]
ICU-8854 string concatenation in loop using + operator

X-SVN-Rev: 30863

13 years agoICU-8854 bitwise and/or of signed byte value.
Abhinav Gupta [Mon, 24 Oct 2011 19:24:08 +0000 (19:24 +0000)]
ICU-8854 bitwise and/or of signed byte value.

Values loaded from a byte array are sign extended to 32-bits before any
bitwise operations are performed. Should &-down back to one-byte.

X-SVN-Rev: 30862

13 years agoICU-8854 dead store to local variable
Abhinav Gupta [Mon, 24 Oct 2011 19:23:59 +0000 (19:23 +0000)]
ICU-8854 dead store to local variable

X-SVN-Rev: 30861

13 years agoICU-8854 computation of average could overflow.
Abhinav Gupta [Mon, 24 Oct 2011 19:23:51 +0000 (19:23 +0000)]
ICU-8854 computation of average could overflow.

X-SVN-Rev: 30860

13 years agoICU-8854 equals() does not check for null.
Abhinav Gupta [Mon, 24 Oct 2011 19:23:44 +0000 (19:23 +0000)]
ICU-8854 equals() does not check for null.

X-SVN-Rev: 30859

13 years agoICU-8854 Unused final instance variable. Should be static.
Abhinav Gupta [Mon, 24 Oct 2011 19:23:29 +0000 (19:23 +0000)]
ICU-8854 Unused final instance variable. Should be static.

X-SVN-Rev: 30858

13 years agoICU-8854 unnecessary use of String constructor.
Abhinav Gupta [Mon, 24 Oct 2011 19:23:20 +0000 (19:23 +0000)]
ICU-8854 unnecessary use of String constructor.

X-SVN-Rev: 30857

13 years agoICU-8854 use of inefficient Number constructors. Use valueOf.
Abhinav Gupta [Mon, 24 Oct 2011 19:14:19 +0000 (19:14 +0000)]
ICU-8854 use of inefficient Number constructors. Use valueOf.

X-SVN-Rev: 30856

13 years agoICU-8854 toString may return null
Abhinav Gupta [Mon, 24 Oct 2011 19:14:10 +0000 (19:14 +0000)]
ICU-8854 toString may return null

X-SVN-Rev: 30855

13 years agoICU-8854 integral division result cast to double (and floored).
Abhinav Gupta [Mon, 24 Oct 2011 19:14:03 +0000 (19:14 +0000)]
ICU-8854 integral division result cast to double (and floored).
Unnecessary because integral division already truncates the result.

X-SVN-Rev: 30854

13 years agoICU-8854 unchecked/unconfirmed cast.
Abhinav Gupta [Mon, 24 Oct 2011 19:13:57 +0000 (19:13 +0000)]
ICU-8854 unchecked/unconfirmed cast.

X-SVN-Rev: 30853

13 years agoICU-8807 Small changes in Map, Property
Mark Davis [Sun, 23 Oct 2011 22:31:02 +0000 (22:31 +0000)]
ICU-8807 Small changes in Map, Property

X-SVN-Rev: 30852

13 years agoICU-8898 Checked in (since shifting systems) but can retract if not approved.
Mark Davis [Sun, 23 Oct 2011 22:27:11 +0000 (22:27 +0000)]
ICU-8898 Checked in (since shifting systems) but can retract if not approved.

X-SVN-Rev: 30851

13 years agoICU-8883 Update individual samples solution file to MSVC 2010
Michael Ow [Tue, 18 Oct 2011 17:56:08 +0000 (17:56 +0000)]
ICU-8883 Update individual samples solution file to MSVC 2010

X-SVN-Rev: 30843

13 years agoICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference...
Yoshito Umaoka [Mon, 17 Oct 2011 21:10:07 +0000 (21:10 +0000)]
ICU-8649 Integrating JCite and embedding coding example in the ICU4J API reference doc.

X-SVN-Rev: 30841

13 years agoICU-8854 possible null pointer dereference.
Abhinav Gupta [Mon, 17 Oct 2011 20:24:17 +0000 (20:24 +0000)]
ICU-8854 possible null pointer dereference.

X-SVN-Rev: 30839

13 years agoICU-8854 Unclosed streams.
Abhinav Gupta [Mon, 17 Oct 2011 20:24:09 +0000 (20:24 +0000)]
ICU-8854 Unclosed streams.

X-SVN-Rev: 30838

13 years agoICU-8854 Result of integer multiplication cast to long after
Abhinav Gupta [Mon, 17 Oct 2011 20:23:59 +0000 (20:23 +0000)]
ICU-8854 Result of integer multiplication cast to long after
multiplication. Casting should be done before multiplication to avoid
overflow.

X-SVN-Rev: 30837

13 years agoICU-8854 Inefficient use of number constructors. Use valueOf instead.
Abhinav Gupta [Mon, 17 Oct 2011 20:23:48 +0000 (20:23 +0000)]
ICU-8854 Inefficient use of number constructors. Use valueOf instead.

X-SVN-Rev: 30836

13 years agoICU-8861 Move the undefining of strict ansi on Cygwin and MinGW in pkgdata tool
Michael Ow [Mon, 17 Oct 2011 05:56:05 +0000 (05:56 +0000)]
ICU-8861 Move the undefining of strict ansi on Cygwin and MinGW in pkgdata tool

X-SVN-Rev: 30832

13 years agoICU-8858 Revert previous change to ufortune sample
Michael Ow [Sun, 16 Oct 2011 04:58:01 +0000 (04:58 +0000)]
ICU-8858 Revert previous change to ufortune sample

X-SVN-Rev: 30831

13 years agoICU-8884 fix escaping of $$ORIGIN
Steven R. Loomis [Sat, 15 Oct 2011 21:52:43 +0000 (21:52 +0000)]
ICU-8884 fix escaping of $$ORIGIN

X-SVN-Rev: 30825

13 years agoICU-8446 System property user.script to initialize ULocale's script field on Java...
Yoshito Umaoka [Fri, 14 Oct 2011 22:11:56 +0000 (22:11 +0000)]
ICU-8446 System property user.script to initialize ULocale's script field on Java 6 or older JREs.

X-SVN-Rev: 30824

13 years agoICU-8802 improve robustness, also test against stdio sscanf/sprintf for doubles
Steven R. Loomis [Fri, 14 Oct 2011 19:00:49 +0000 (19:00 +0000)]
ICU-8802 improve robustness, also test against stdio sscanf/sprintf for doubles

X-SVN-Rev: 30823

13 years agoICU-8858 Fix ufortune sample program to build resources in dll correctly
Michael Ow [Thu, 13 Oct 2011 18:45:13 +0000 (18:45 +0000)]
ICU-8858 Fix ufortune sample program to build resources in dll correctly

X-SVN-Rev: 30821

13 years agoICU-8882 Skip platform dependent message format test on Linux
Michael Ow [Thu, 13 Oct 2011 17:01:32 +0000 (17:01 +0000)]
ICU-8882 Skip platform dependent message format test on Linux

X-SVN-Rev: 30818

13 years agoICU-7752 library: rename generated *_props_data.c files to .h and add #ifndef guard
Markus Scherer [Wed, 12 Oct 2011 22:58:30 +0000 (22:58 +0000)]
ICU-7752 library: rename generated *_props_data.c files to .h and add #ifndef guard

X-SVN-Rev: 30817

13 years agoICU-7752 tools: rename generated *_props_data.c files to .h and add #ifndef guard
Markus Scherer [Wed, 12 Oct 2011 22:57:58 +0000 (22:57 +0000)]
ICU-7752 tools: rename generated *_props_data.c files to .h and add #ifndef guard

X-SVN-Rev: 30816

13 years agoICU-8861 merge r30809 cleanup from #8755
Steven R. Loomis [Wed, 12 Oct 2011 20:08:09 +0000 (20:08 +0000)]
ICU-8861 merge r30809 cleanup from #8755

X-SVN-Rev: 30814

13 years agoICU-8876 disabled Clover where necessary.
Abhinav Gupta [Wed, 12 Oct 2011 15:31:19 +0000 (15:31 +0000)]
ICU-8876 disabled Clover where necessary.

Disabled for parts of  PluralRules, RBBIDataWrapper, RBBISetBuilder,
TimeZoneNames, Calendar.

X-SVN-Rev: 30811

13 years agoICU-8876 added test for SelectFormat.format exception.
Abhinav Gupta [Wed, 12 Oct 2011 15:31:07 +0000 (15:31 +0000)]
ICU-8876 added test for SelectFormat.format exception.

X-SVN-Rev: 30810

13 years agoICU-8874 Modified TestCompareReferenceImpl to do the same tests with ICU4C correspond...
Yoshito Umaoka [Fri, 7 Oct 2011 22:35:38 +0000 (22:35 +0000)]
ICU-8874 Modified TestCompareReferenceImpl to do the same tests with ICU4C corresponding test case. Fixed problems in IDNAReference, which was obviously out of date. Restored toUnicode tests in TestErrorCases (but still excluding ASCII only error cases).

X-SVN-Rev: 30805

13 years agoICU-8874 Fixed test case problem which triggered TestIDNAMonkeyTest failure intermitt...
Yoshito Umaoka [Fri, 7 Oct 2011 22:28:32 +0000 (22:28 +0000)]
ICU-8874 Fixed test case problem which triggered TestIDNAMonkeyTest failure intermittently. Also updated TestCompareReferenceImpl to cover the case which used to trigger the test failure.

X-SVN-Rev: 30804

13 years agoICU-8876 Filtered asserts from coverage reports.
Abhinav Gupta [Thu, 6 Oct 2011 20:07:21 +0000 (20:07 +0000)]
ICU-8876 Filtered asserts from coverage reports.

X-SVN-Rev: 30803

13 years agoICU-8856 Lower case release file name - m1 instead of M1.
Yoshito Umaoka [Tue, 4 Oct 2011 21:52:36 +0000 (21:52 +0000)]
ICU-8856 Lower case release file name - m1 instead of M1.

X-SVN-Rev: 30800

13 years agoICU-8855 update readme.html for M1
Dragan Besevic [Tue, 4 Oct 2011 20:44:22 +0000 (20:44 +0000)]
ICU-8855 update readme.html for M1

X-SVN-Rev: 30799

13 years agoICU-8869 revert r30787 for destructors, update api ref
Steven R. Loomis [Tue, 4 Oct 2011 20:16:25 +0000 (20:16 +0000)]
ICU-8869 revert r30787 for destructors, update api ref

X-SVN-Rev: 30798

13 years agoICU-8869 add empty lib directory, and fix a build issue on some systems
Steven R. Loomis [Tue, 4 Oct 2011 20:16:17 +0000 (20:16 +0000)]
ICU-8869 add empty lib directory, and fix a build issue on some systems

X-SVN-Rev: 30797

13 years agoICU-8856 pom.xml to use 49-SNAPSHOT
Yoshito Umaoka [Tue, 4 Oct 2011 20:10:13 +0000 (20:10 +0000)]
ICU-8856 pom.xml to use 49-SNAPSHOT

X-SVN-Rev: 30796

13 years agoICU-8856 API change report for 49M1
Yoshito Umaoka [Tue, 4 Oct 2011 20:08:06 +0000 (20:08 +0000)]
ICU-8856 API change report for 49M1

X-SVN-Rev: 30795

13 years agoICU-8856 Updated readme.html for 49M1
Yoshito Umaoka [Tue, 4 Oct 2011 20:05:56 +0000 (20:05 +0000)]
ICU-8856 Updated readme.html for 49M1

X-SVN-Rev: 30794

13 years agoICU-8871 Fix missing static label and update urename.h
Michael Ow [Tue, 4 Oct 2011 18:15:16 +0000 (18:15 +0000)]
ICU-8871 Fix missing static label and update urename.h

X-SVN-Rev: 30793

13 years agoICU-8871 Update urename.h for 49M1
Michael Ow [Tue, 4 Oct 2011 17:18:44 +0000 (17:18 +0000)]
ICU-8871 Update urename.h for 49M1

X-SVN-Rev: 30792

13 years agoICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation...
Yoshito Umaoka [Tue, 4 Oct 2011 15:59:21 +0000 (15:59 +0000)]
ICU-8856 Explicit private constructor to prevent MessagePatternUtil instatiation. This change fixed unwanted javadoc/api report for MessagePatternUtil constructor.

X-SVN-Rev: 30791

13 years agoICU-8856 Fixed a javac compiler warning.
Yoshito Umaoka [Tue, 4 Oct 2011 15:45:25 +0000 (15:45 +0000)]
ICU-8856 Fixed a javac compiler warning.

X-SVN-Rev: 30790

13 years agoICU-8856 Fixed Eclipse compiler warnings.
Yoshito Umaoka [Tue, 4 Oct 2011 15:09:36 +0000 (15:09 +0000)]
ICU-8856 Fixed Eclipse compiler warnings.

X-SVN-Rev: 30789

13 years agoICU-8856 Organized import statements
Yoshito Umaoka [Tue, 4 Oct 2011 14:38:02 +0000 (14:38 +0000)]
ICU-8856 Organized import statements

X-SVN-Rev: 30788

13 years agoICU-8869 update API change report for m1
Steven R. Loomis [Tue, 4 Oct 2011 01:50:34 +0000 (01:50 +0000)]
ICU-8869 update API change report for m1

X-SVN-Rev: 30787

13 years agoICU-8869 updates for 49m1
Steven R. Loomis [Tue, 4 Oct 2011 01:50:08 +0000 (01:50 +0000)]
ICU-8869 updates for 49m1

X-SVN-Rev: 30786

13 years agoICU-8868 remove use of UnicodeString conversion constructor from numsys.cpp
Markus Scherer [Tue, 4 Oct 2011 01:14:37 +0000 (01:14 +0000)]
ICU-8868 remove use of UnicodeString conversion constructor from numsys.cpp

X-SVN-Rev: 30785

13 years agoICU-8867 add stdout to system group stdio_output, for io library group ustdio
Markus Scherer [Tue, 4 Oct 2011 00:30:15 +0000 (00:30 +0000)]
ICU-8867 add stdout to system group stdio_output, for io library group ustdio

X-SVN-Rev: 30784

13 years agoICU-8863 skip comments in cpyskip.txt
Abhinav Gupta [Mon, 3 Oct 2011 20:17:36 +0000 (20:17 +0000)]
ICU-8863 skip comments in cpyskip.txt

X-SVN-Rev: 30783

13 years agoICU-8864 Use fallback mechanism for empty string in ICUResourceTableAccess get method
Michael Ow [Mon, 3 Oct 2011 19:17:07 +0000 (19:17 +0000)]
ICU-8864 Use fallback mechanism for empty string in ICUResourceTableAccess get method

X-SVN-Rev: 30782

13 years agoICU-8864 Use fallback mechanism for empty string in ICUDataTable get method
Michael Ow [Mon, 3 Oct 2011 19:10:54 +0000 (19:10 +0000)]
ICU-8864 Use fallback mechanism for empty string in ICUDataTable get method

X-SVN-Rev: 30781

13 years agoICU-8863 fix cpyscan.pl
Abhinav Gupta [Mon, 3 Oct 2011 19:09:39 +0000 (19:09 +0000)]
ICU-8863 fix cpyscan.pl

X-SVN-Rev: 30780

13 years agoICU-8863 moved functionality from cpysearch to Cpy module.
Abhinav Gupta [Mon, 3 Oct 2011 19:05:30 +0000 (19:05 +0000)]
ICU-8863 moved functionality from cpysearch to Cpy module.

X-SVN-Rev: 30779

13 years agoICU-8863 fix cpysearch.pl
Abhinav Gupta [Mon, 3 Oct 2011 19:05:23 +0000 (19:05 +0000)]
ICU-8863 fix cpysearch.pl

X-SVN-Rev: 30778

13 years agoICU-8592 Update ICU4J time zone data to 2011k
Michael Ow [Mon, 3 Oct 2011 17:59:37 +0000 (17:59 +0000)]
ICU-8592 Update ICU4J time zone data to 2011k

X-SVN-Rev: 30777

13 years agoICU-8592 Update ICU4C timezone data to 2011k
Michael Ow [Mon, 3 Oct 2011 17:57:52 +0000 (17:57 +0000)]
ICU-8592 Update ICU4C timezone data to 2011k

X-SVN-Rev: 30776

13 years agoICU-8753 Fix comment about prevOffset / newOffset
Peter Edberg [Fri, 30 Sep 2011 21:34:41 +0000 (21:34 +0000)]
ICU-8753 Fix comment about prevOffset / newOffset

X-SVN-Rev: 30773

13 years agoICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
Peter Edberg [Fri, 30 Sep 2011 21:32:41 +0000 (21:32 +0000)]
ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset

X-SVN-Rev: 30772

13 years agoICU-8518 Misspelled again... Corrected.
Yoshito Umaoka [Fri, 30 Sep 2011 21:17:08 +0000 (21:17 +0000)]
ICU-8518 Misspelled again... Corrected.

X-SVN-Rev: 30771

13 years agoICU-8753 Replace confusing use of dst variable with prevOffset / newOffset
Peter Edberg [Fri, 30 Sep 2011 21:14:46 +0000 (21:14 +0000)]
ICU-8753 Replace confusing use of dst variable with prevOffset / newOffset

X-SVN-Rev: 30770

13 years agoICU-8518 Corrected spelling found by Markus's review
Yoshito Umaoka [Fri, 30 Sep 2011 20:52:56 +0000 (20:52 +0000)]
ICU-8518 Corrected spelling found by Markus's review

X-SVN-Rev: 30769

13 years agoICU-8856 copyright info on com.ibm.icu.text.SourceTargetUtility.
Abhinav Gupta [Fri, 30 Sep 2011 20:28:27 +0000 (20:28 +0000)]
ICU-8856 copyright info on com.ibm.icu.text.SourceTargetUtility.

X-SVN-Rev: 30768

13 years agoICU-8861 revert r30505 (extraneous comment) from #8755
Steven R. Loomis [Fri, 30 Sep 2011 20:20:24 +0000 (20:20 +0000)]
ICU-8861 revert r30505 (extraneous comment) from #8755

X-SVN-Rev: 30767

13 years agoICU-8820 Parse string fields in pattern as strings before trying digits (if lenient)
Peter Edberg [Fri, 30 Sep 2011 20:07:28 +0000 (20:07 +0000)]
ICU-8820 Parse string fields in pattern as strings before trying digits (if lenient)

X-SVN-Rev: 30766

13 years agoICU-8855 copyright info on icu4c.css
Abhinav Gupta [Fri, 30 Sep 2011 20:07:21 +0000 (20:07 +0000)]
ICU-8855 copyright info on icu4c.css

X-SVN-Rev: 30765

13 years agoICU-7365 Remove unused old test code.
Michael Ow [Fri, 30 Sep 2011 19:45:51 +0000 (19:45 +0000)]
ICU-7365 Remove unused old test code.

X-SVN-Rev: 30762

13 years agoICU-8515 Add missing provisional tag to draft API CharsetEncoderICU.getMaxBytesForString
Michael Ow [Fri, 30 Sep 2011 19:16:20 +0000 (19:16 +0000)]
ICU-8515 Add missing provisional tag to draft API CharsetEncoderICU.getMaxBytesForString

X-SVN-Rev: 30760

13 years agoICU-8268 fixed problems found in code review.
Abhinav Gupta [Fri, 30 Sep 2011 19:01:29 +0000 (19:01 +0000)]
ICU-8268 fixed problems found in code review.

X-SVN-Rev: 30759

13 years agoICU-8846 Merge CLDRv21M1 data into ICU
John Emmons [Thu, 29 Sep 2011 21:57:33 +0000 (21:57 +0000)]
ICU-8846 Merge CLDRv21M1 data into ICU

X-SVN-Rev: 30756

13 years agoICU-8846 Merge CLDRv21M1 data into ICU
John Emmons [Thu, 29 Sep 2011 21:52:25 +0000 (21:52 +0000)]
ICU-8846 Merge CLDRv21M1 data into ICU

X-SVN-Rev: 30755

13 years agoICU-8856 fixed newline removed by icu-svnprops-check.
Abhinav Gupta [Thu, 29 Sep 2011 21:05:55 +0000 (21:05 +0000)]
ICU-8856 fixed newline removed by icu-svnprops-check.

X-SVN-Rev: 30754

13 years agoICU-8855 undo bad commit r30752
Steven R. Loomis [Thu, 29 Sep 2011 20:18:13 +0000 (20:18 +0000)]
ICU-8855 undo bad commit r30752

X-SVN-Rev: 30753

13 years agoICU-8855 utf-8 file properties for icu4j (with copyright updates).
Abhinav Gupta [Thu, 29 Sep 2011 19:44:32 +0000 (19:44 +0000)]
ICU-8855 utf-8 file properties for icu4j (with copyright updates).

X-SVN-Rev: 30752

13 years agoICU-8732 merge from branch
Steven R. Loomis [Thu, 29 Sep 2011 19:22:56 +0000 (19:22 +0000)]
ICU-8732 merge from branch

X-SVN-Rev: 30750

13 years agoICU-8784 this is part of the IBMi update (fixing a doc link) - was originally in...
Steven R. Loomis [Thu, 29 Sep 2011 19:21:34 +0000 (19:21 +0000)]
ICU-8784 this is part of the IBMi update (fixing a doc link) - was originally in the #8732 branch

X-SVN-Rev: 30749

13 years agoICU-8855 utf-8 file properties for icu4c
Abhinav Gupta [Thu, 29 Sep 2011 14:17:52 +0000 (14:17 +0000)]
ICU-8855 utf-8 file properties for icu4c

X-SVN-Rev: 30743

13 years agoICU-8856 text file line endings fixed for icu4j
Abhinav Gupta [Wed, 28 Sep 2011 21:16:24 +0000 (21:16 +0000)]
ICU-8856 text file line endings fixed for icu4j

X-SVN-Rev: 30741

13 years agoICU-8855 text file line endings fixed for icu4c
Abhinav Gupta [Wed, 28 Sep 2011 21:10:49 +0000 (21:10 +0000)]
ICU-8855 text file line endings fixed for icu4c

X-SVN-Rev: 30740

13 years agoICU-8855 non-ascii characters in C code.
Abhinav Gupta [Wed, 28 Sep 2011 20:54:03 +0000 (20:54 +0000)]
ICU-8855 non-ascii characters in C code.

X-SVN-Rev: 30739

13 years agoICU-8268 Unitialized read of field in constructor.
Abhinav Gupta [Wed, 28 Sep 2011 20:30:19 +0000 (20:30 +0000)]
ICU-8268 Unitialized read of field in constructor.

X-SVN-Rev: 30738

13 years agoICU-8268 Fixed use of & instead of &&.
Abhinav Gupta [Wed, 28 Sep 2011 20:30:12 +0000 (20:30 +0000)]
ICU-8268 Fixed use of & instead of &&.

X-SVN-Rev: 30737

13 years agoICU-8268 equals(Object o) methods assume that o is the correct type.
Abhinav Gupta [Wed, 28 Sep 2011 20:30:06 +0000 (20:30 +0000)]
ICU-8268 equals(Object o) methods assume that o is the correct type.

X-SVN-Rev: 30736

13 years agoICU-8268 computation of average could overflow.
Abhinav Gupta [Wed, 28 Sep 2011 20:29:59 +0000 (20:29 +0000)]
ICU-8268 computation of average could overflow.

The (a+b)/2 or (a+b)>>1 could cause an overflow. Use unsigned bit shift (>>>).

X-SVN-Rev: 30735

13 years agoICU-8268 inefficient use of Long, Integer, Character constructors.
Abhinav Gupta [Wed, 28 Sep 2011 20:29:47 +0000 (20:29 +0000)]
ICU-8268 inefficient use of Long, Integer, Character constructors.

X-SVN-Rev: 30734

13 years agoICU-8268 Inefficient use of new String(...) constructor.
Abhinav Gupta [Wed, 28 Sep 2011 20:29:28 +0000 (20:29 +0000)]
ICU-8268 Inefficient use of new String(...) constructor.

X-SVN-Rev: 30733

13 years agoICU-8268 null check of value previously dereferenced.
Abhinav Gupta [Wed, 28 Sep 2011 20:29:19 +0000 (20:29 +0000)]
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

13 years agoICU-8268 fixed bug introduced by infinite recursion fix (r30724).
Abhinav Gupta [Wed, 28 Sep 2011 14:46:18 +0000 (14:46 +0000)]
ICU-8268 fixed bug introduced by infinite recursion fix (r30724).

X-SVN-Rev: 30731

13 years agoICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.
Abhinav Gupta [Wed, 28 Sep 2011 14:46:11 +0000 (14:46 +0000)]
ICU-8268 toString on array doesn't produce anything useful. Use Arrays.toString.

X-SVN-Rev: 30730

13 years agoICU-8779 add getUnknown()
Markus Scherer [Wed, 28 Sep 2011 00:00:31 +0000 (00:00 +0000)]
ICU-8779 add getUnknown()

X-SVN-Rev: 30729

13 years agoICU-8779 add UNKNOWN_ZONE & GMT_ZONE
Markus Scherer [Tue, 27 Sep 2011 23:52:04 +0000 (23:52 +0000)]
ICU-8779 add UNKNOWN_ZONE & GMT_ZONE

X-SVN-Rev: 30728

13 years agoICU-8268 return value was ignored.
Abhinav Gupta [Tue, 27 Sep 2011 19:50:26 +0000 (19:50 +0000)]
ICU-8268 return value was ignored.

Return value of string concatenation was ignored. Results in invalid data.

X-SVN-Rev: 30726