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