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