Applying -r449108:449370 from the LANG_2_2_X branch to the trunk

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@449372 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2006-09-24 07:01:49 +00:00
parent 565888466c
commit c1fe78ffa1
4 changed files with 74 additions and 11 deletions

View File

@ -46,6 +46,8 @@
<filter token="name" value="${component.name}"/>
<filter token="package" value="${component.package}"/>
<filter token="version" value="${component.version}"/>
<filter token="compile.source" value="${compile.source}"/>
<filter token="compile.target" value="${compile.target}"/>
</target>
<target name="prepare" depends="init" description="Prepare build directory">
<mkdir dir="${build.home}"/>
@ -96,6 +98,7 @@
<antcall target="jar"/>
</target>
<target name="dist-build" depends="clean,dist" description="Build binary distribution files">
<copy file="${dist.home}/${final.name}.jar" todir="."/>
<jar jarfile="${final.name}-sources.jar" basedir="${source.home}" manifest="${build.home}/conf/MANIFEST.MF"/>
<jar jarfile="${final.name}-javadoc.jar" basedir="${dist.home}/docs/api" manifest="${build.home}/conf/MANIFEST.MF"/>
<mkdir dir="${final.name}"/>

View File

@ -378,7 +378,7 @@ limitations under the License.
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-cobertura-plugin</artifactId>
<version>1.1.1</version>
<version>1.2</version>
<url>http://maven-plugins.sourceforge.net/maven-cobertura-plugin/</url>
<type>plugin</type>
<properties>
@ -386,15 +386,6 @@ limitations under the License.
<comment>Required only for generating test coverage reports.</comment>
</properties>
</dependency>
<!--
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-findbugs-plugin</artifactId>
<version>0.7.1</version>
<url>http://maven-plugins.sourceforge.net/maven-findbugs-plugin/</url>
<type>plugin</type>
</dependency>
-->
</dependencies>
<build>
<nagEmailAddress>commons-dev@jakarta.apache.org</nagEmailAddress>

View File

@ -17,7 +17,7 @@ limitations under the License.
<html>
<body>
<p>
This document is the API specification for the Apache Jakarta Commons Lang Library, version 2.1.
This document is the API specification for the Apache Jakarta Commons Lang Library, version 2.2.
</p>
</body>
</html>

View File

@ -33,6 +33,75 @@ This document contains the release notes for the 2.2 version of Apache Jakarta C
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:
- None
DEPRECATIONS FROM 2.1 to 2.2:
- None
BUG FIXES IN 2.2:
LANG-2 javadoc example for StringUtils.splitByWholeSeparator incorrect
LANG-3 PADDING array in StringUtils overflows on '\uffff'
LANG-10 [patch] ClassUtils.primitiveToWrapper and Void
LANG-21 escapeXML() -&gt; Not escaping low characters
LANG-25 DurationFormatUtils.formatDurationISO() javadoc is missing T in duration string between date and time part
LANG-37 unit test for org.apache.commons.lang.text.StrBuilder
LANG-42 EqualsBuilder.append(Object[], Object[]) crashes with a NullPointerException if an element of the first array is null
LANG-45 StrBuilderTest#testReplaceStringString fails.
LANG-50 Replace Clover with Cobertura
LANG-59 DateUtils.truncate method is buggy when dealing with DST switching hours
LANG-100 RandomStringUtils.random() family of methods create invalid unicode sequences
LANG-105 ExceptionUtils goes into infinite loop in getThrowables is throwable.getCause() == throwable
LANG-106 StringUtils#getLevenshteinDistance() performance is sub-optimal
LANG-112 Wrong length check in StrTokenizer.StringMatcher
LANG-117 FastDateFormat: wrong format for date "01.01.1000"
LANG-122 EscapeUtil.escapeHtml() should clarify that it does not escape ' chars to &apos;
LANG-123 Unclear javadoc for DateUtils.iterator()
LANG-127 Minor tweak to fix of bug # 26616
LANG-130 Memory "leak" in StringUtils
LANG-140 DurationFormatUtils.formatPeriod() returns the wrong result
LANG-141 Fraction.toProperString() returns -1/1 for -1
LANG-148 Performance modifications on StringUtils.replace
LANG-150 StringEscapeUtils.unescapeHtml skips first entity after standalone ampersand
LANG-152 DurationFormatUtils.formatDurationWords "11 &lt;units&gt;" gets converted to "11 &lt;unit&gt;"
LANG-259 ValuedEnum.compareTo(Object other) not typesafe - it easily could be...
LANG-261 Error in an example in the javadoc of the StringUtils.splitPreserveAllTokens() method
LANG-264 ToStringBuilder/HashCodeBuilder javadoc code examples
LANG-271 LocaleUtils test fails under Mustang
LANG-272 Minor build and checkstyle changes
LANG-277 Javadoc errors on StringUtils.splitPreserveAllTokens(String, char)
LANG-278 javadoc for StringUtils.removeEnd is incorrect
IMPROVEMENTS IN 2.2:
LANG-159 Add WordUtils.getInitials(String)
LANG-161 Add methods and tests to StrBuilder
LANG-162 replace() length calculation improvement
LANG-165 parseDate with TimeZone
LANG-166 New interpolation features
LANG-169 Implementation of escape/unescapeHtml methods with Writer
LANG-176 CompareToBuilder excludeFields for reflection method
LANG-186 Request for MutableBoolean implementation
LANG-194 add generic add method to DateUtils
LANG-198 New method for EqualsBuilder
LANG-212 New ExceptionUtils method setCause()
LANG-216 Provides a Class.getPublicMethod which returns public invocable Method
LANG-217 Add Mutable&lt;Type&gt; to&lt;Type&gt;() methods.
LANG-220 Tokenizer Enhancements: reset input string, static CSV/TSV factories
LANG-226 Using ReflectionToStringBuilder and excluding secure fields
LANG-242 Trivial cleanup of javadoc in various files
LANG-246 CompositeFormat
LANG-250 Performance boost for RandomStringUtils
LANG-254 Enhanced Class.forName version
LANG-260 StringEscapeUtils should expose escape*() methods taking Writer argument
LANG-263 Add StringUtils.containsIgnoreCase(...)
LANG-267 Support char array converters on ArrayUtils
LANG-270 minor javadoc improvements for StringUtils.stripXxx() methods
New ExceptionUtils methods getMessage/getRootCauseMessage
</source>
</p>
</section>