xref: /aosp_15_r20/external/apache-commons-lang/src/site/resources/release-notes/RELEASE-NOTES-2.6.txt (revision 455610af95f3bf5f4bc8a9eda520f57e389a4c42)
1*455610afSAndroid Build Coastguard WorkerLicensed to the Apache Software Foundation (ASF) under one or more
2*455610afSAndroid Build Coastguard Workercontributor license agreements.  See the NOTICE file distributed with
3*455610afSAndroid Build Coastguard Workerthis work for additional information regarding copyright ownership.
4*455610afSAndroid Build Coastguard WorkerThe ASF licenses this file to You under the Apache License, Version 2.0
5*455610afSAndroid Build Coastguard Worker(the "License"); you may not use this file except in compliance with
6*455610afSAndroid Build Coastguard Workerthe License.  You may obtain a copy of the License at
7*455610afSAndroid Build Coastguard Worker
8*455610afSAndroid Build Coastguard Workerhttp://www.apache.org/licenses/LICENSE-2.0
9*455610afSAndroid Build Coastguard Worker
10*455610afSAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
11*455610afSAndroid Build Coastguard Workerdistributed under the License is distributed on an "AS IS" BASIS,
12*455610afSAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*455610afSAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
14*455610afSAndroid Build Coastguard Workerlimitations under the License.
15*455610afSAndroid Build Coastguard Worker
16*455610afSAndroid Build Coastguard Worker=============================================================================
17*455610afSAndroid Build Coastguard Worker
18*455610afSAndroid Build Coastguard Worker                        Commons Lang Package
19*455610afSAndroid Build Coastguard Worker                            Version 2.6
20*455610afSAndroid Build Coastguard Worker                           Release Notes
21*455610afSAndroid Build Coastguard Worker
22*455610afSAndroid Build Coastguard Worker
23*455610afSAndroid Build Coastguard WorkerINTRODUCTION:
24*455610afSAndroid Build Coastguard Worker
25*455610afSAndroid Build Coastguard WorkerThis document contains the release notes for the 2.6 version of Apache Commons Lang.
26*455610afSAndroid Build Coastguard WorkerCommons Lang is a set of utility functions and reusable components that should be of use in any Java environment.
27*455610afSAndroid Build Coastguard Worker
28*455610afSAndroid Build Coastguard Worker
29*455610afSAndroid Build Coastguard WorkerCOMPATIBILITY WITH 2.5
30*455610afSAndroid Build Coastguard Worker======================
31*455610afSAndroid Build Coastguard WorkerLang 2.6 is binary compatible release with Lang 2.5, containing bug fixes and small enhancements.
32*455610afSAndroid Build Coastguard Worker
33*455610afSAndroid Build Coastguard WorkerLang 2.6 requires a minimum of JDK 1.3.
34*455610afSAndroid Build Coastguard Worker
35*455610afSAndroid Build Coastguard Worker
36*455610afSAndroid Build Coastguard WorkerIMPROVEMENTS IN 2.6
37*455610afSAndroid Build Coastguard Worker===================
38*455610afSAndroid Build Coastguard Worker
39*455610afSAndroid Build Coastguard Worker    * [LANG-633] - BooleanUtils: use same optimization in toBooleanObject(String) as in toBoolean(String)
40*455610afSAndroid Build Coastguard Worker    * [LANG-599] - ClassUtils: allow Dots as Inner Class Separators in getClass()
41*455610afSAndroid Build Coastguard Worker    * [LANG-594] - DateUtils: equal and compare functions up to most significant field
42*455610afSAndroid Build Coastguard Worker    * [LANG-632] - DateUtils: provide a Date to Calendar convenience method
43*455610afSAndroid Build Coastguard Worker    * [LANG-576] - ObjectUtils: add clone methods to ObjectUtils
44*455610afSAndroid Build Coastguard Worker    * [LANG-667] - ObjectUtils: add a Null-safe compare() method
45*455610afSAndroid Build Coastguard Worker    * [LANG-670] - ObjectUtils: add notEqual() method
46*455610afSAndroid Build Coastguard Worker    * [LANG-302] - StrBuilder: implement clone() method
47*455610afSAndroid Build Coastguard Worker    * [LANG-640] - StringUtils: add a normalizeSpace() method
48*455610afSAndroid Build Coastguard Worker    * [LANG-614] - StringUtils: add endsWithAny() method
49*455610afSAndroid Build Coastguard Worker    * [LANG-655] - StringUtils: add defaultIfBlank() method
50*455610afSAndroid Build Coastguard Worker    * [LANG-596] - StrSubstitutor: add a replace(String, Properties) variant
51*455610afSAndroid Build Coastguard Worker    * [LANG-482] - StrSubstitutor: support substitution in variable names
52*455610afSAndroid Build Coastguard Worker    * [LANG-669] - Use StrBuilder instead of StringBuffer to improve performance where sync. is not an issue
53*455610afSAndroid Build Coastguard Worker
54*455610afSAndroid Build Coastguard WorkerBUG FIXES IN 2.6
55*455610afSAndroid Build Coastguard Worker================
56*455610afSAndroid Build Coastguard Worker
57*455610afSAndroid Build Coastguard Worker    * [LANG-629] - CharSet: make the underlying set synchronized
58*455610afSAndroid Build Coastguard Worker    * [LANG-635] - CompareToBuilder: fix passing along compareTransients to the reflectionCompare method
59*455610afSAndroid Build Coastguard Worker    * [LANG-636] - ExtendedMessageFormat doesn't override equals(Object)
60*455610afSAndroid Build Coastguard Worker    * [LANG-645] - FastDateFormat: fix to properly include the locale when formatting a Date
61*455610afSAndroid Build Coastguard Worker    * [LANG-638] - NumberUtils: createNumber() throws a StringIndexOutOfBoundsException when argument containing "e" and "E" is passed in
62*455610afSAndroid Build Coastguard Worker    * [LANG-607] - StringUtils methods do not handle Unicode 2.0+ supplementary characters correctly
63*455610afSAndroid Build Coastguard Worker    * [LANG-624] - SystemUtils: getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM
64*455610afSAndroid Build Coastguard Worker    * [BEANUTILS-381] - MemberUtils: getMatchingAccessibleMethod does not correctly handle inheritance and method overloading
65*455610afSAndroid Build Coastguard Worker
66*455610afSAndroid Build Coastguard WorkerOTHER CHANGES IN 2.6
67*455610afSAndroid Build Coastguard Worker====================
68*455610afSAndroid Build Coastguard Worker
69*455610afSAndroid Build Coastguard Worker    * [LANG-600] - Javadoc is incorrect for lastIndexOf() method
70*455610afSAndroid Build Coastguard Worker    * [LANG-628] - Javadoc for HashCodeBuilder.append(boolean) does not match implementation
71*455610afSAndroid Build Coastguard Worker    * [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative length, but doesn't
72*455610afSAndroid Build Coastguard Worker    * [LANG-370] - Javadoc - document thread safety
73*455610afSAndroid Build Coastguard Worker    * [LANG-623] - Test for StringUtils replaceChars() icelandic characters
74*455610afSAndroid Build Coastguard Worker
75