https://github.com/apache/commons-lang
Revision 06ebaca91c69fbf4149bd09074d8961affa69ed2 authored by Gary D. Gregory on 09 August 2006, 22:16:21 UTC, committed by Gary D. Gregory on 09 August 2006, 22:16:21 UTC

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@430166 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2ef7b77
Raw File
Tip revision: 06ebaca91c69fbf4149bd09074d8961affa69ed2 authored by Gary D. Gregory on 09 August 2006, 22:16:21 UTC
Unnecessary cast from char to int
Tip revision: 06ebaca
RELEASE-NOTES.txt
$Id$

                        Commons Lang Package
                            Version 2.2
                           Release Notes


INTRODUCTION:

This document contains the release notes for the 2.2 version of Apache Jakarta Commons Lang.
Commons Lang is a set of utility functions and reusable components that
should be of use in any Java environment.

INCOMPATIBLE CHANGES WITH VERSION 2.1:

	*** TO DO

INCOMPATIBLE CHANGES WITH VERSION 2.0:

- The Nestable interface defines the method indexOfThrowable(Class).
Previously the implementations checked only for a specific Class.
Now they check for subclasses of that Class as well.
For most situations this will be the expected behaviour (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.
However, we don't recommend that as a long-term solution.)

- The StopWatch class has had much extra validation added.
If your code previously relied on unusual aspects, it may no longer work.

- Starting with version 2.1, Ant version 1.6.x is required to build. Copy 
junit.jar to ANT_HOME/lib. You can get JUnit from http://www.junit.org. See the developer's guide
for more details.

DEPRECATIONS FROM 2.1 to 2.2:

	*** TO DO

DEPRECATIONS FROM 2.0 to 2.1:

- The enum package has been renamed to enums for JDK1.5 compilance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.

- NumberUtils.stringToInt - renamed to toInt

- DateUtils - four constants, MILLIS_IN_* have been deprecated as they were defined
as int not long. The replacements are MILLIS_PER_*. 

NEW FEATURES IN 2.2:

- New ExceptionUtils methods getMessage/getRootCauseMessage
- New ExceptionUtils method setCause() [LANG-212]


BUG FIXES IN 2.2:

LANG-186  Request for MutableBoolean implementation
LANG-254  Enhanced Class.forName version
LANG-152  DurationFormatUtils.formatDurationWords "11 <unit>s" gets converted to "11 <unit>"

back to top