xref: /aosp_15_r20/external/apache-commons-lang/src/site/resources/release-notes/RELEASE-NOTES-3.1.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 3.1
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 3.1 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
27*455610afSAndroid Build Coastguard WorkerJava environment.
28*455610afSAndroid Build Coastguard Worker
29*455610afSAndroid Build Coastguard WorkerLang 3.0 and onwards now targets Java 5.0, making use of features that arrived with Java 5.0 such as generics,
30*455610afSAndroid Build Coastguard Workervariable arguments, autoboxing, concurrency and formatted output.
31*455610afSAndroid Build Coastguard Worker
32*455610afSAndroid Build Coastguard WorkerFor the advice on upgrading from 2.x to 3.x, see the following page:
33*455610afSAndroid Build Coastguard Worker
34*455610afSAndroid Build Coastguard Worker    https://commons.apache.org/lang/article3_0.html
35*455610afSAndroid Build Coastguard Worker
36*455610afSAndroid Build Coastguard WorkerCHANGES IN 3.1
37*455610afSAndroid Build Coastguard Worker================
38*455610afSAndroid Build Coastguard Worker
39*455610afSAndroid Build Coastguard Worker    [LANG-760] Add API StringUtils.toString(byte[] input, String charsetName)
40*455610afSAndroid Build Coastguard Worker    [LANG-756] Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and isPrimitiveOrWrapper(Class<?>)
41*455610afSAndroid Build Coastguard Worker    [LANG-758] Add an example with whitespace in StringUtils.defaultIfEmpty
42*455610afSAndroid Build Coastguard Worker    [LANG-752] Fix createLong() so it behaves like createInteger()
43*455610afSAndroid Build Coastguard Worker    [LANG-751] Include the actual type in the Validate.isInstance and isAssignableFrom exception messages
44*455610afSAndroid Build Coastguard Worker    [LANG-748] Deprecating chomp(String, String)
45*455610afSAndroid Build Coastguard Worker    [LANG-736] CharUtils static final array CHAR_STRING is not needed to compute CHAR_STRING_ARRAY
46*455610afSAndroid Build Coastguard Worker    [LANG-695] SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
47*455610afSAndroid Build Coastguard Worker
48*455610afSAndroid Build Coastguard WorkerBUG FIXES IN 3.1
49*455610afSAndroid Build Coastguard Worker==================
50*455610afSAndroid Build Coastguard Worker
51*455610afSAndroid Build Coastguard Worker    [LANG-749] Incorrect Bundle-SymbolicName in Manifest
52*455610afSAndroid Build Coastguard Worker    [LANG-746] NumberUtils does not handle upper-case hex: 0X and -0X
53*455610afSAndroid Build Coastguard Worker    [LANG-744] StringUtils throws java.security.AccessControlException on Google App Engine
54*455610afSAndroid Build Coastguard Worker    [LANG-741] Ant build has wrong component.name
55*455610afSAndroid Build Coastguard Worker    [LANG-698] Document that the Mutable numbers don't work as expected with String.format
56