(doc) Fix typos in project documentations (#923)

This commit is contained in:
Marc Wrobel 2022-07-15 19:51:03 +02:00 committed by GitHub
parent 7c68936044
commit 1774335e56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 154 additions and 154 deletions

View File

@ -605,7 +605,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Ro?niecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -705,7 +705,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -803,7 +803,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -887,7 +887,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -1039,7 +1039,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -1079,7 +1079,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -1400,7 +1400,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1574,7 +1574,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -296,7 +296,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add" dev="ggregory">Add ObjectUtils.toString(Object, Supplier&lt;String&gt;).</action>
<action issue="LANG-1567" type="update" dev="ggregory" due-to="Miguel Muñoz, Bruno P. Kinoshita, Gary Gregory">Fixed Javadocs for setTestRecursive() #556.</action>
<action issue="LANG-1542" type="update" dev="ggregory" due-to=" Trần Ngọc Khoa, Gary Gregory">ToStringBuilder.reflectionToString - Wrong JSON format when object has a List of Enum.</action>
<action issue="LANG-1543" type="fix" dev="ggregory" due-to="Swaraj Pal, Wander Costa, Gary Gregory">[JSON string for maps] ToStringBuilder.reflectionToString doesnt render nested maps correctly.</action>
<action issue="LANG-1543" type="fix" dev="ggregory" due-to="Swaraj Pal, Wander Costa, Gary Gregory">[JSON string for maps] ToStringBuilder.reflectionToString doesn't render nested maps correctly.</action>
<action type="update" dev="ggregory">Make org.apache.commons.lang3.CharSequenceUtils.toCharArray(CharSequence) public.</action>
<action type="add" dev="ggregory">Add org.apache.commons.lang3.StringUtils.substringAfter(String, int).</action>
<action type="add" dev="ggregory">Add org.apache.commons.lang3.StringUtils.substringAfterLast(String, int).</action>
@ -373,7 +373,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1523" type="update" dev="ggregory" due-to="Edgar Asatryan, Bruno P. Kinoshita, Gary Gregory">Avoid unnecessary allocation in StringUtils.wrapIfMissing. #496.</action>
<action issue="LANG-1525" type="update" dev="ggregory" due-to="Edgar Asatryan, Bruno P. Kinoshita, Gary Gregory">Internally use Validate.notNull(foo, ...) instead of Validate.isTrue(foo != null, ...).</action>
<action issue="LANG-1526" type="update" dev="ggregory" due-to="Dominik Schramm">Add 1 and 0 in toBooleanObject(final String str) #502.</action>
<action issue="LANG-1527" type="update" dev="ggregory" due-to="Pengyu Nie">Remove an redundant argument check in NumberUtils #504.</action>
<action issue="LANG-1527" type="update" dev="ggregory" due-to="Pengyu Nie">Remove a redundant argument check in NumberUtils #504.</action>
<action issue="LANG-1529" type="update" dev="ggregory" due-to="Gary Gregory, BillCindy, Bruno P. Kinoshita">Deprecate org.apache.commons.lang3.ArrayUtils.removeAllOccurences(*) for org.apache.commons.lang3.ArrayUtils.removeAllOccurrences(*).</action>
</release>
@ -421,7 +421,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1394" type="add" dev="ggregory" due-to="Sebb, Gary Gregory">org.apache.commons.lang3.SystemUtils should not write to System.err.</action>
<action issue="LANG-1238" type="add" dev="ggregory" due-to="Christopher Cordeiro, Gary Gregory, Bruno P. Kinoshita, Oleg Chubaryov">Add RegexUtils class instead of overloading methods in StringUtils that take a regex to take precompiled Pattern.</action>
<action issue="LANG-1390" type="add" dev="ggregory" due-to="Jochen Schalanda">StringUtils.join() with support for List&lt;?> with configurable start/end indices.</action>
<action issue="LANG-1392" type="add" dev="pschumacher" due-to="Jeff Nelson">Methods for getting first non empty or non blank value</action>
<action issue="LANG-1392" type="add" dev="pschumacher" due-to="Jeff Nelson">Methods for getting first non-empty or non-blank value</action>
<action issue="LANG-1405" type="update" dev="ggregory" due-to="Lars Grefer">Remove checks for java versions below the minimum supported one</action>
<action issue="LANG-1402" type="update" dev="chtompki" due-to="Mark Dacek">Null/index safe get methods for ArrayUtils</action>
<action issue="LANG-1408" type="add" dev="chtompki">Rounding utilities for converting to BigDecimal</action>
@ -456,7 +456,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1320" type="fix" dev="britter">LocaleUtils#toLocale does not support language followed by UN M.49 numeric-3 area code followed by variant</action>
<action issue="LANG-1300" type="fix" dev="chtompki" due-to="Mark Dacek">Clarify or improve behavior of int-based indexOf methods in StringUtils</action>
<action issue="LANG-1299" type="add" dev="djones">Add method for converting string to an array of code points</action>
<action issue="LANG-1286" type="fix" dev="djones">RandomStringUtils random method can overflow and return characters outside of specified range</action>
<action issue="LANG-1286" type="fix" dev="djones">RandomStringUtils random method can overflow and return characters outside the specified range</action>
<action issue="LANG-660" type="add" dev="djones">Add methods to insert arrays into arrays at an index</action>
<action issue="LANG-1292" type="fix" dev="djones">WordUtils.wrap throws StringIndexOutOfBoundsException</action>
<action issue="LANG-1287" type="fix" dev="pschumacher" due-to="Ivan Morozov">RandomStringUtils#random can enter infinite loop if end parameter is to small</action>
@ -471,7 +471,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1155" type="fix" dev="pschumacher" due-to="Saif Asif, Thiago Andrade">Add StringUtils#unwrap</action>
<action issue="LANG-1034" type="add" dev="pschumacher" due-to="Yathos UG">Add support for recursive comparison to EqualsBuilder#reflectionEquals</action>
<action issue="LANG-1067" type="add" dev="pschumacher">Add a reflection-based variant of DiffBuilder</action>
<action issue="LANG-740" type="add" dev="pschumacher" due-to="James Sawle">Implementation of a Memomizer</action>
<action issue="LANG-740" type="add" dev="pschumacher" due-to="James Sawle">Implementation of a Memoizer</action>
<action issue="LANG-1258" type="add" dev="pschumacher" due-to="IG, Grzegorz Rożniecki">Add ArrayUtils#toStringArray method</action>
<action issue="LANG-1160" type="add" dev="kinow">StringUtils#abbreviate should support 'custom ellipses' parameter</action>
<action issue="LANG-1293" type="add" dev="pschumacher" due-to="Pierre Templier, Martin Tarjanyi">Add StringUtils#isAllEmpty and #isAllBlank methods</action>
@ -530,7 +530,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1240" type="update" dev="pschumacher" due-to="zhanhb">Optimize BitField constructor implementation</action>
<action issue="LANG-1206" type="update" dev="pschumacher" due-to="Mohammed Alfallaj">Improve CharSetUtils.squeeze() performance</action>
<action issue="LANG-1225" type="add" dev="pschumacher" due-to="Caleb Cushing">Add RandomStringUtils#randomGraph and #randomPrint which match corresponding regular expression class</action>
<action issue="LANG-901" type="fix" dev="pschumacher" due-to="Matthew Bartenschlag">StringUtils#startsWithAny/endsWithAny is case sensitive - documented as case insensitive</action>
<action issue="LANG-901" type="fix" dev="pschumacher" due-to="Matthew Bartenschlag">StringUtils#startsWithAny/endsWithAny is case-sensitive - documented as case insensitive</action>
<action issue="LANG-1223" type="add" dev="pschumacher" due-to="Nick Manley">Add StopWatch#getTime(TimeUnit)</action>
<action issue="LANG-781" type="add" dev="pschumacher" due-to="Krzysztof Wolny">Add methods to ObjectUtils class to check for null elements in the array</action>
<action issue="LANG-1228" type="add" dev="pschumacher" due-to="Brad Hess">Prefer Throwable.getCause() in ExceptionUtils.getCause()</action>
@ -545,11 +545,11 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1218" type="update" dev="ggregory" due-to="Ruslan Cheremin">EqualsBuilder.append(Object,Object) is too big to be inlined, which prevents whole builder to be scalarized</action>
<action issue="LANG-1205" type="fix" dev="chas" due-to="pbrose">NumberUtils.createNumber() behaves inconsistently with NumberUtils.isNumber()</action>
<action issue="LANG-1115" type="add" dev="chas" due-to="Jim Lloyd, Joe Ferner">Add support for varargs in ConstructorUtils, MemberUtils, and MethodUtils</action>
<action issue="LANG-1134" type="add" dev="chas" due-to="Alan Smithee">Add methods to check numbers against NaN and inifinite to Validate</action>
<action issue="LANG-1134" type="add" dev="chas" due-to="Alan Smithee">Add methods to check numbers against NaN and infinite to Validate</action>
<action issue="LANG-1222" type="fix" dev="ggregory" due-to="Adam J.">Fix for incorrect comment on StringUtils.containsIgnoreCase method</action>
<action issue="LANG-1221" type="fix" dev="ggregory" due-to="Pierre Templier">Fix typo on appendIfMissing javadoc</action>
<action issue="LANG-1220" type="add" dev="kinow" due-to="Casey Scarborough">Add tests for missed branches in DateUtils</action>
<action issue="LANG-1202" type="fix" dev="chas" due-to="Markus Jelsma">parseDateStrictly does't pass specified locale</action>
<action issue="LANG-1202" type="fix" dev="chas" due-to="Markus Jelsma">parseDateStrictly doesn't pass specified locale</action>
<action issue="LANG-1219" type="fix" dev="chas" due-to="Jarek">FastDateFormat doesn't respect summer daylight in some localized strings</action>
<action issue="LANG-1146" type="add" dev="ggregory" due-to="Gabor Liptak">z/OS identification in SystemUtils</action>
<action issue="LANG-1210" type="update" dev="ggregory" due-to="Matthias Niehoff">StringUtils#startsWithAny has error in Javadoc</action>
@ -619,7 +619,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1102" type="update" dev="britter">Make logic for comparing OS versions in SystemUtils smarter</action>
<action issue="LANG-1091" type="update" dev="britter" due-to="Fabian Lange">Shutdown thread pools in test cases</action>
<action issue="LANG-1101" type="update" dev="chas">FastDateParser and FastDatePrinter support 'X' format</action>
<action issue="LANG-1100" type="update" dev="chas" due-to="mbracher">Avoid memory allocation when using date formating to StringBuffer</action>
<action issue="LANG-1100" type="update" dev="chas" due-to="mbracher">Avoid memory allocation when using date formatting to StringBuffer</action>
<action issue="LANG-935" type="update" dev="britter" due-to="Fabian Lange, Thomas Neidhart">Possible performance improvement on string escape functions</action>
<action issue="LANG-948" type="fix" dev="britter" due-to="Andrey Khobnya">Exception while using ExtendedMessageFormat and escaping braces</action>
<action issue="LANG-1098" type="update" dev="britter" due-to="Mikhail Mazurskiy, Fabian Lange">Avoid String allocation in StrBuilder.append(CharSequence)</action>
@ -627,7 +627,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1097" type="update" dev="britter" due-to="Michał Kordas">Update org.easymock:easymock to 3.3.1</action>
<action issue="LANG-1096" type="update" dev="britter" due-to="Michał Kordas">Update maven-pmd-plugin to 3.4</action>
<action issue="LANG-1095" type="update" dev="britter" due-to="Michał Kordas">Update maven-antrun-plugin to 1.8</action>
<action issue="LANG-1092" type="fix" dev="britter">Wrong formating of time zones with daylight saving time in FastDatePrinter</action>
<action issue="LANG-1092" type="fix" dev="britter">Wrong formatting of time zones with daylight saving time in FastDatePrinter</action>
<action issue="LANG-877" type="update" dev="britter" due-to="Fabian Lange">Performance improvements for StringEscapeUtils</action>
<action issue="LANG-1093" type="add" dev="britter" due-to="Fabian Lange">Add ClassUtils.getAbbreviatedName()</action>
<action issue="LANG-1090" type="fix" dev="sebb">FastDateParser does not set error indication in ParsePosition</action>
@ -817,7 +817,7 @@ The <action> type attribute can be add,update,fix,remove.
</release>
<release version="3.1" date="2011-11-14" description="November release">
<action type="add" issue="LANG-760">Add API StringUtils.toString(byte[] intput, String charsetName)</action>
<action type="add" issue="LANG-760">Add API StringUtils.toString(byte[] input, String charsetName)</action>
<action type="update" issue="LANG-758">Add an example with whitespace in StringUtils.defaultIfEmpty</action>
<action type="add" issue="LANG-756">Add APIs ClassUtils.isPrimitiveWrapper(Class&lt;?&gt;) and isPrimitiveOrWrapper(Class&lt;?&gt;)</action>
<action type="update" issue="LANG-752">Fix createLong() so it behaves like createInteger()</action>
@ -870,7 +870,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" issue="LANG-428">StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for "".</action>
<action type="add" issue="LANG-678">Add support for ConcurrentMap.putIfAbsent().</action>
<action type="add" issue="LANG-676">Documented potential NPE if auto-boxing occurs for some BooleanUtils methods.</action>
<action type="fix" issue="LANG-677">DateUtils.isSameLocalTime compares using 12 hour clock and not 24 hour.</action>
<action type="fix" issue="LANG-677">DateUtils.isSameLocalTime compares using 12-hour clock and not 24-hour.</action>
<action type="add" issue="LANG-610">Extend exception handling in ConcurrentUtils to runtime exceptions.</action>
<action type="fix" issue="LANG-624">SystemUtils.getJavaVersionAsFloat throws StringIndexOutOfBoundsException on Android runtime/Dalvik VM.</action>
<action type="remove" issue="LANG-673">WordUtils.abbreviate() removed.</action>
@ -882,7 +882,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add" issue="LANG-667">Add a Null-safe compare() method to ObjectUtils.</action>
<action type="fix" issue="LANG-664">NumberUtils.isNumber(String) is not right when the String is "1.1L".</action>
<action type="fix" issue="LANG-659">EntityArrays typo: {"\u2122", "&amp;minus;"}, // minus sign, U+2212 ISOtech.</action>
<action type="fix" issue="LANG-658">Some Entitys like &amp;Ouml; are not matched properly against its ISO8859-1 representation.</action>
<action type="fix" issue="LANG-658">Some entities like &amp;Ouml; are not matched properly against its ISO8859-1 representation.</action>
<action type="fix" issue="LANG-656">Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect.</action>
<action type="add" issue="LANG-655">Add StringUtils.defaultIfBlank().</action>
<action type="add" issue="LANG-653">Provide a very basic ConcurrentInitializer implementation.</action>
@ -1004,7 +1004,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" issue="BEANUTILS-381">MemberUtils: getMatchingAccessibleMethod does not correctly handle inheritance and method overloading.</action>
<action type="update" issue="LANG-600">Javadoc is incorrect for lastIndexOf() method.</action>
<action type="update" issue="LANG-628">Javadoc for HashCodeBuilder.append(boolean) does not match implementation.</action>
<action type="update" issue="LANG-643">Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't.</action>
<action type="update" issue="LANG-643">Javadoc StringUtils.left() claims to throw an exception on negative length, but doesn't.</action>
<action type="update" issue="LANG-370">Javadoc - document thread safety.</action>
<action type="update" issue="LANG-623">Test for StringUtils replaceChars() icelandic characters.</action>
</release>
@ -1048,7 +1048,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" issue="LANG-538">FastDateFormat - call getTime() on a calendar to ensure timezone is in the right state.</action>
<action type="fix" issue="LANG-547">FastDateFormat - Remove unused field.</action>
<action type="fix" issue="LANG-511">LocaleUtils - Initialization of available locales in LocaleUtils can be deferred.</action>
<action type="fix" issue="LANG-457">NumberUtils - createNumber() thows a StringIndexOutOfBoundsException when only an "l" is passed in.</action>
<action type="fix" issue="LANG-457">NumberUtils - createNumber() throws a StringIndexOutOfBoundsException when only an "l" is passed in.</action>
<action type="fix" issue="LANG-521">NumberUtils - isNumber(String) and createNumber(String) both modified to support '2.'.</action>
<action type="fix" issue="LANG-432">StringUtils - improve handling of case-insensitive Strings.</action>
<action type="fix" issue="LANG-552">StringUtils - replaceEach() no longer NPEs when null appears in the last String[].</action>
@ -1104,7 +1104,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add" issue="LANG-379">Calculating A date fragment in any time-unit.</action>
<action type="add" issue="LANG-413">Memory usage improvement for StringUtils#getLevenshteinDistance().</action>
<action type="add" issue="LANG-362">Add ExtendedMessageFormat to org.apache.commons.lang.text.</action>
<action type="fix" issue="LANG-363">StringEscapeUtils.escapeJavaScript() method did not escape '/' into '\/', it will make IE render page uncorrectly.</action>
<action type="fix" issue="LANG-363">StringEscapeUtils.escapeJavaScript() method did not escape '/' into '\/', it will make IE render page incorrectly.</action>
<action type="add" issue="LANG-321">Add toArray() method to IntRange and LongRange classes.</action>
<action type="add" issue="LANG-375">add SystemUtils.IS_OS_WINDOWS_VISTA field.</action>
<action type="add" issue="LANG-329">Pointless synchronized in ThreadLocal.initialValue should be removed.</action>
@ -1115,9 +1115,9 @@ The <action> type attribute can be add,update,fix,remove.
</release>
<release version="2.3" date="2007-02-13" description="">
<action type="fix" issue="LANG-262">Use of enum prevents a classloader from being garbage collected resuling in out of memory exceptions.</action>
<action type="fix" issue="LANG-262">Use of enum prevents a classloader from being garbage collected resulting in out of memory exceptions.</action>
<action type="add" issue="LANG-289">NumberUtils.max(byte[]) and NumberUtils.min(byte[]) are missing.</action>
<action type="add" issue="LANG-291">Null-safe comparison methods for finding most recent / least recent dates.</action>
<action type="add" issue="LANG-291">Null-safe comparison methods for finding the most recent / least recent dates.</action>
<action type="fix" issue="LANG-315">StopWatch: suspend() acts as split(), if followed by stop().</action>
<action type="fix" issue="LANG-294">StrBuilder.replaceAll and StrBuilder.deleteAll can throw ArrayIndexOutOfBoundsException.</action>
<action type="fix" issue="LANG-299">Bug in method appendFixedWidthPadRight of class StrBuilder causes an ArrayIndexOutOfBoundsException.</action>
@ -1207,7 +1207,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" issue="LANG-80">New class proposal: CharacterEncoding.</action>
<action type="fix" issue="LANG-43">SystemUtils fails init on HP-UX.</action>
<action type="fix" issue="LANG-134">Javadoc - 'four basic XML entities' should be 5 (apos is missing).</action>
<action type="fix" issue="LANG-156">o.a.c.lang.enum.ValuedEnum: 'enum'is a keyword in JDK1.5.0.</action>
<action type="fix" issue="LANG-156">o.a.c.lang.enum.ValuedEnum: 'enum' is a keyword in JDK 1.5.0.</action>
<action type="fix" issue="LANG-131">StringEscapeUtils.unescapeHtml() doesn't handle an empty entity.</action>
<action type="fix" issue="LANG-6">EqualsBuilder.append(Object[], Object[]) incorrectly checks that rhs[i] is instance of lhs[i]'s class.</action>
<action type="fix" issue="LANG-33">Method enums.Enum.equals(Object o) doesn't work correctly.</action>
@ -1244,7 +1244,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add" issue="LANG-222">Add convenience format(long) methods to FastDateFormat.</action>
<action type="fix" issue="LANG-116">Enum's outer class may not be loaded for EnumUtils.</action>
<action type="add" issue="LANG-219">WordUtils.capitalizeFully(String str) should take a delimiter.</action>
<action type="add" issue="LANG-183">Make Javadoc crosslinking configurable.</action>
<action type="add" issue="LANG-183">Make Javadoc cross-linking configurable.</action>
<action type="fix" issue="LANG-82">Minor Javadoc fixes for StringUtils.contains(String, String).</action>
<action type="fix" issue="LANG-32">Error in Javadoc for StringUtils.chomp(String, String).</action>
<action type="fix" issue="LANG-95">StringUtils.defaultString: Documentation error.</action>
@ -1293,7 +1293,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix" issue="LANG-129">test.time fails in Japanese (non-us) locale.</action>
<action type="fix" issue="LANG-94">NumberUtils.isNumber allows illegal trailing characters.</action>
<action type="fix" issue="LANG-137">Improve Javadoc and overflow behavior of Fraction.</action>
<action type="fix" issue="LANG-55">RandomStringUtils infloops with length &gt; 1.</action>
<action type="fix" issue="LANG-55">RandomStringUtils infinite loop with length &gt; 1.</action>
<action type="fix" issue="LANG-47">test.lang fails if compiled with non iso-8859-1 locales.</action>
<action type="fix" issue="LANG-113">SystemUtils does not play nice in an Applet.</action>
<action type="fix" issue="LANG-111">time unit tests fail on Sundays.</action>

View File

@ -134,7 +134,7 @@
</Match>
<!-- Reason: FindBugs 2.0.2 used in maven-findbugs-plugin 2.5.2 seems to have problems with detection of default cases
in switch statements. All the excluded methods have switch statements that conatin a default case. -->
in switch statements. All the excluded methods have switch statements that contain a default case. -->
<Match>
<Class name="org.apache.commons.lang3.math.NumberUtils"/>
<Method name="createNumber" />

View File

@ -156,7 +156,7 @@ ID Sev Pri Plt Owner State Result Summary
17654 EnumUtils nit: The import java.io.Serializable is never used
17882 Add join(..., char c) to StringUtils (and some performance f
18077 StringUtils.chomp does not match Perl
18723 RandomStringUtils infloops with length < 1
18723 RandomStringUtils infinite loop with length < 1
18836 test.lang fails if compiled with non iso-8859-1 locales
18948 Resurrect the WordWrapUtils from commons-sandbox/utils
19296 [Lang] What to do with FastDateFormat unused private constru

View File

@ -32,7 +32,7 @@ INCOMPATIBLE CHANGES:
- 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -48,7 +48,7 @@ for more details.
DEPRECATIONS:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -139,7 +139,7 @@ BUG FIXES:
30929 Nestable.indexOfThrowable(Class) uses Class.equals() to match
31395 DateUtils.truncate oddity at the far end of the Date spectrum
31478 Compile error with JDK 5 "enum" is a keyword
31572 o.a.c.lang.enum.ValuedEnum: 'enum'is a keyword in JDK1.5.0
31572 o.a.c.lang.enum.ValuedEnum: 'enum' is a keyword in JDK 1.5.0
31933 ToStringStyle setArrayEnd handled null incorrectly
32133 SystemUtils fails init on HP-UX
32198 Error in Javadoc for StringUtils.chomp(String, String)

View File

@ -35,7 +35,7 @@ ADDITIONAL 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -54,7 +54,7 @@ DEPRECATIONS FROM 2.1 to 2.2:
DEPRECATIONS FROM 2.0 to 2.1:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -78,7 +78,7 @@ 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-106 StringUtils#getLevenshteinDistance() performance is suboptimal
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;

View File

@ -37,7 +37,7 @@ ADDITIONAL 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -60,7 +60,7 @@ DEPRECATIONS FROM 2.1 to 2.2:
DEPRECATIONS FROM 2.0 to 2.1:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -75,7 +75,7 @@ BUG FIXES IN 2.3:
* [LANG-69 ] - ToStringBuilder throws StackOverflowError when an Object cycle exists
* [LANG-102] - Refactor Entities methods
* [LANG-153] - Can't XMLDecode an Enum
* [LANG-262] - Use of enum prevents a classloader from being garbage collected resuling in out of memory exceptions.
* [LANG-262] - Use of enum prevents a classloader from being garbage collected resulting in out of memory exceptions.
* [LANG-279] - HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle.
* [LANG-281] - DurationFormatUtils returns wrong result
* [LANG-286] - Serialization - not backwards compatible
@ -98,7 +98,7 @@ IMPROVEMENTS IN 2.3:
* [LANG-282] - Create more tests to test out the +=31 replacement code in DurationFormatUtils.
* [LANG-287] - Optimize StringEscapeUtils.unescapeXml(String)
* [LANG-289] - NumberUtils.max(byte[]) and NumberUtils.min(byte[]) are missing
* [LANG-291] - Null-safe comparison methods for finding most recent / least recent dates.
* [LANG-291] - Null-safe comparison methods for finding the most recent / least recent dates.
* [LANG-306] - StrBuilder appendln/appendAll/appendSeparator
* [LANG-310] - BooleanUtils isNotTrue/isNotFalse
* [LANG-314] - Tests fail to pass when building with Maven 2

View File

@ -43,7 +43,7 @@ ADDITIONAL 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -74,7 +74,7 @@ DEPRECATIONS FROM 2.1 to 2.2:
DEPRECATIONS FROM 2.0 to 2.1:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -94,7 +94,7 @@ BUG FIXES IN 2.4:
* [LANG-353] - Javadoc Example for EqualsBuilder is questionable
* [LANG-360] - Why does appendIdentityToString return null?
* [LANG-361] - BooleanUtils toBooleanObject javadoc does not match implementation
* [LANG-363] - StringEscapeUtils..escapeJavaScript() method did not escape '/' into '\/', it will make IE render page uncorrectly
* [LANG-363] - StringEscapeUtils..escapeJavaScript() method did not escape '/' into '\/', it will make IE render page incorrectly
* [LANG-364] - Documentation bug for ignoreEmptyTokens accessors in StrTokenizer
* [LANG-365] - BooleanUtils.toBoolean() - invalid drop-thru in case statement causes StringIndexOutOfBoundsException
* [LANG-367] - FastDateFormat thread safety

View File

@ -77,7 +77,7 @@ BUG FIXES IN 2.5
* [LANG-538] - FastDateFormat - call getTime() on a calendar to ensure timezone is in the right state
* [LANG-547] - FastDateFormat - Remove unused field
* [LANG-511] - LocaleUtils - initialization of available locales can be deferred
* [LANG-457] - NumberUtils - createNumber() thows a StringIndexOutOfBoundsException for "l"
* [LANG-457] - NumberUtils - createNumber() throws a StringIndexOutOfBoundsException for "l"
* [LANG-521] - NumberUtils - isNumber(String) and createNumber(String) both modified to support '2.'
* [LANG-432] - StringUtils - improve handling of case-insensitive Strings
* [LANG-552] - StringUtils - replaceEach() no longer NPEs when null appears in the last String[]

View File

@ -68,7 +68,7 @@ OTHER CHANGES IN 2.6
* [LANG-600] - Javadoc is incorrect for lastIndexOf() method
* [LANG-628] - Javadoc for HashCodeBuilder.append(boolean) does not match implementation
* [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't
* [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative length, but doesn't
* [LANG-370] - Javadoc - document thread safety
* [LANG-623] - Test for StringUtils replaceChars() icelandic characters

View File

@ -154,14 +154,14 @@ BUG FIXES IN 3.0
[LANG-645] FastDateFormat.format() outputs incorrect week of year because locale isn't respected
[LANG-646] StringEscapeUtils.unescapeJava doesn't handle octal escapes and Unicode with extra u
[LANG-656] Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
[LANG-658] Some Entitys like &Ouml; are not matched properly against its ISO8859-1 representation
[LANG-658] Some entities like &Ouml; are not matched properly against its ISO8859-1 representation
[LANG-659] EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212 ISOtech
[LANG-66] StringEscaper.escapeXml() escapes characters > 0x7f.
[LANG-662] org.apache.commons.lang3.math.Fraction does not reduce (Integer.MIN_VALUE, 2^k)
[LANG-663] org.apache.commons.lang3.math.Fraction does not always succeed in multiplyBy and divideBy
[LANG-664] NumberUtils.isNumber(String) is not right when the String is "1.1L"
[LANG-672] Doc bug in DateUtils#ceiling
[LANG-677] DateUtils.isSameLocalTime compares using 12 hour clock and not 24 hour
[LANG-677] DateUtils.isSameLocalTime compares using 12-hour clock and not 24-hour
[LANG-685] EqualsBuilder synchronizes on HashCodeBuilder.
[LANG-703] StringUtils.join throws NPE when toString returns null for one of objects in collection
[LANG-710] StringIndexOutOfBoundsException when calling unescapeHtml4("&#03")

View File

@ -36,7 +36,7 @@ For the advice on upgrading from 2.x to 3.x, see the following page:
CHANGES IN 3.1
================
[LANG-760] Add API StringUtils.toString(byte[] intput, String charsetName)
[LANG-760] Add API StringUtils.toString(byte[] input, String charsetName)
[LANG-756] Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and isPrimitiveOrWrapper(Class<?>)
[LANG-758] Add an example with whitespace in StringUtils.defaultIfEmpty
[LANG-752] Fix createLong() so it behaves like createInteger()

View File

@ -107,14 +107,14 @@ o Reuse own code in Functions.java #493. Thanks to Peter Verhas.
o LANG-1523: Avoid unnecessary allocation in StringUtils.wrapIfMissing. #496. Thanks to Edgar Asatryan, Bruno P. Kinoshita, Gary Gregory.
o LANG-1525: Internally use Validate.notNull(foo, ...) instead of Validate.isTrue(foo != null, ...). Thanks to Edgar Asatryan, Bruno P. Kinoshita, Gary Gregory.
o LANG-1526: Add 1 and 0 in toBooleanObject(final String str) #502. Thanks to Dominik Schramm.
o LANG-1527: Remove an redundant argument check in NumberUtils #504. Thanks to Pengyu Nie.
o LANG-1527: Remove a redundant argument check in NumberUtils #504. Thanks to Pengyu Nie.
o LANG-1529: Deprecate org.apache.commons.lang3.ArrayUtils.removeAllOccurences(*) for org.apache.commons.lang3.ArrayUtils.removeAllOccurrences(*). Thanks to Gary Gregory, BillCindy, Bruno P. Kinoshita.
Historical list of changes: https://commons.apache.org/proper/commons-lang/changes-report.html
For complete information on Apache Commons Lang, including instructions on how to submit bug reports,
patches, or suggestions for improvement, see the Apache Apache Commons Lang website:
patches, or suggestions for improvement, see the Apache Commons Lang website:
https://commons.apache.org/proper/commons-lang/

View File

@ -208,7 +208,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -381,7 +381,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -393,8 +393,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -196,7 +196,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -369,7 +369,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -381,8 +381,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -287,7 +287,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -460,7 +460,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -472,8 +472,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -300,7 +300,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -473,7 +473,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -485,8 +485,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -273,7 +273,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -446,7 +446,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -458,8 +458,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -83,7 +83,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -113,7 +113,7 @@ o LANG-1000: ParseException when trying to parse UTC dates with Z as zone
o LANG-1035: Javadoc for EqualsBuilder.reflectionEquals() is unclear
o LANG-1001: ISO 8601 misspelled throughout the Javadocs. Thanks to
Michael Osipov.
o LANG-1088: FastDateParser should be case insensitive
o LANG-1088: FastDateParser should be case-insensitive
o LANG-995: Fix bug with stripping spaces on last line in WordUtils.wrap().
Thanks to Andrey Khobnya.
@ -123,7 +123,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -433,7 +433,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -606,7 +606,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -618,8 +618,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -28,14 +28,14 @@ o Added Java 9 detection to org.apache.commons.lang3.SystemUtils.
o Support for shifting and swapping elements in
org.apache.commons.lang3.ArrayUtils.
o New methods for generating random strings from different character classes
including alphabetic, alpha-numeric and ASCII added to
including alphabetic, alphanumeric and ASCII added to
org.apache.commons.lang3.RandomStringUtils.
o Numerous extensions to org.apache.commons.lang3.StringUtils including
null safe compare variants, more remove and replace variants, rotation and
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -87,7 +87,7 @@ BUILDING ON JAVA 9
Java 8 introduced the Unicode Consortium's Common Locale Data Repository as
alternative source for locale data. Java 9 will use the CLDR provider as
default provider for locale data (see http://openjdk.java.net/jeps/252). This
causes an number of locale-sensitive test in Commons Lang to fail. In order
causes a number of locale-sensitive test in Commons Lang to fail. In order
to build Commons Lang 3.5 on Java 9, the locale provider has to be set to
'JRE':
@ -133,7 +133,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -204,8 +204,8 @@ o LANG-1244: Fix dead links in StringUtils.getLevenshteinDistance() javadoc.
Thanks to jjbankert.
o LANG-1242: "\u2284":"?" mapping missing from
EntityArrays#HTML40_EXTENDED_ESCAPE. Thanks to Neal Stewart.
o LANG-901: StringUtils#startsWithAny/endsWithAny is case sensitive -
documented as case insensitive. Thanks to Matthew Bartenschlag.
o LANG-901: StringUtils#startsWithAny/endsWithAny is case-sensitive -
documented as case-insensitive. Thanks to Matthew Bartenschlag.
o LANG-1232: DiffBuilder: Add null check on fieldName when appending Object or
Object[]. Thanks to Nick Manley.
o LANG-1178: ArrayUtils.removeAll(Object array, int... indices) should do the
@ -217,7 +217,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -369,7 +369,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -399,7 +399,7 @@ o LANG-1000: ParseException when trying to parse UTC dates with Z as zone
o LANG-1035: Javadoc for EqualsBuilder.reflectionEquals() is unclear
o LANG-1001: ISO 8601 misspelled throughout the Javadocs. Thanks to
Michael Osipov.
o LANG-1088: FastDateParser should be case insensitive
o LANG-1088: FastDateParser should be case-insensitive
o LANG-995: Fix bug with stripping spaces on last line in WordUtils.wrap().
Thanks to Andrey Khobnya.
@ -409,7 +409,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -730,7 +730,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -904,7 +904,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech
@ -916,8 +916,8 @@ o LANG-663: org.apache.commons.lang3.math.Fraction does not always succeed in
o LANG-664: NumberUtils.isNumber(String) is not right when the String is
"1.1L"
o LANG-672: Doc bug in DateUtils#ceiling
o LANG-677: DateUtils.isSameLocalTime compares using 12 hour clock and not
24 hour
o LANG-677: DateUtils.isSameLocalTime compares using 12-hour clock and not
24-hour
o LANG-685: EqualsBuilder synchronizes on HashCodeBuilder.
o LANG-703: StringUtils.join throws NPE when toString returns null for one of
objects in collection

View File

@ -119,7 +119,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Rożniecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -219,7 +219,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -317,7 +317,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -401,7 +401,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -553,7 +553,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -593,7 +593,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -914,7 +914,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1088,7 +1088,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -171,7 +171,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Rożniecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -271,7 +271,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -369,7 +369,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -453,7 +453,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -605,7 +605,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -645,7 +645,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -966,7 +966,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1140,7 +1140,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -265,7 +265,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Ro?niecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -365,7 +365,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -463,7 +463,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -547,7 +547,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -699,7 +699,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -739,7 +739,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -1060,7 +1060,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1234,7 +1234,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -232,7 +232,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Ro?niecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -332,7 +332,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -430,7 +430,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -514,7 +514,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -666,7 +666,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -706,7 +706,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -1027,7 +1027,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1201,7 +1201,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -288,7 +288,7 @@ o LANG-660: Add methods to insert arrays into arrays at an index.
o LANG-1034: Add support for recursive comparison to
EqualsBuilder#reflectionEquals. Thanks to Yathos UG.
o LANG-1067: Add a reflection-based variant of DiffBuilder.
o LANG-740: Implementation of a Memomizer. Thanks to James Sawle.
o LANG-740: Implementation of a Memoizer. Thanks to James Sawle.
o LANG-1258: Add ArrayUtils#toStringArray method.
Thanks to IG, Grzegorz Ro?niecki.
o LANG-1160: StringUtils#abbreviate should support 'custom ellipses' parameter.
@ -388,7 +388,7 @@ o Numerous extensions to org.apache.commons.lang3.StringUtils including
truncation.
o Added org.apache.commons.lang3.ThreadUtils - a utility class to work with
instances of java.lang.Thread and java.lang.ThreadGroup.
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringEclude to
o Added annotations @EqualsExclude, @HashCodeExclude and @ToStringExclude to
mark fields which should be ignored by the reflective builders in the
org.apache.commons.lang3.builder package.
o Support for various modify and retrieve value use cases added to the classes
@ -486,7 +486,7 @@ o LANG-1168: Add SystemUtils.IS_OS_WINDOWS_10 property.
Thanks to Pascal Schumacher.
o LANG-1115: Add support for varargs in ConstructorUtils, MemberUtils, and
MethodUtils. Thanks to Jim Lloyd and Joe Ferner.
o LANG-1134: Add methods to check numbers against NaN and inifinite to
o LANG-1134: Add methods to check numbers against NaN and infinite to
Validate. Thanks to Alan Smithee.
o LANG-1220: Add tests for missed branches in DateUtils.
Thanks to Casey Scarborough.
@ -570,7 +570,7 @@ o LANG-1205: NumberUtils.createNumber() behaves inconsistently with
o LANG-1222: Fix for incorrect comment on StringUtils.containsIgnoreCase
method. Thanks to Adam J.
o LANG-1221: Fix typo on appendIfMissing javadoc. Thanks to Pierre Templier.
o LANG-1202: parseDateStrictly does't pass specified locale. Thanks to
o LANG-1202: parseDateStrictly doesn't pass specified locale. Thanks to
Markus Jelsma.
o LANG-1219: FastDateFormat doesn't respect summer daylight in some localized
strings. Thanks to Jarek.
@ -722,7 +722,7 @@ o LANG-794: SystemUtils.IS_OS_WINDOWS_2008, VISTA are incorrect. Thanks to
o LANG-1104: Parse test fails for TimeZone America/Sao_Paulo
o LANG-948: Exception while using ExtendedMessageFormat and escaping braces.
Thanks to Andrey Khobnya.
o LANG-1092: Wrong formating of time zones with daylight saving time in
o LANG-1092: Wrong formatting of time zones with daylight saving time in
FastDatePrinter
o LANG-1090: FastDateParser does not set error indication in ParsePosition
o LANG-1089: FastDateParser does not handle excess hours as per
@ -762,7 +762,7 @@ CHANGES
o LANG-1102: Make logic for comparing OS versions in SystemUtils smarter
o LANG-1091: Shutdown thread pools in test cases. Thanks to Fabian Lange.
o LANG-1101: FastDateParser and FastDatePrinter support 'X' format
o LANG-1100: Avoid memory allocation when using date formating to StringBuffer.
o LANG-1100: Avoid memory allocation when using date formatting to StringBuffer.
Thanks to mbracher.
o LANG-935: Possible performance improvement on string escape functions.
Thanks to Fabian Lange, Thomas Neidhart.
@ -1083,7 +1083,7 @@ NEW FEATURES
==============
o LANG-801: Add Conversion utility to convert between data types on byte level
o LANG-760: Add API StringUtils.toString(byte[] intput, String charsetName)
o LANG-760: Add API StringUtils.toString(byte[] input, String charsetName)
o LANG-756: Add APIs ClassUtils.isPrimitiveWrapper(Class<?>) and
isPrimitiveOrWrapper(Class<?>)
o LANG-695: SystemUtils.IS_OS_UNIX doesn't recognize FreeBSD as a Unix system
@ -1257,7 +1257,7 @@ o LANG-645: FastDateFormat.format() outputs incorrect week of year because
o LANG-646: StringEscapeUtils.unescapeJava doesn't handle octal escapes and
Unicode with extra u
o LANG-656: Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
o LANG-658: Some Entitys like &Ouml; are not matched properly against its
o LANG-658: Some entities like &Ouml; are not matched properly against its
ISO8859-1 representation
o LANG-659: EntityArrays typo: {"\u2122", "&minus;"}, // minus sign, U+2212
ISOtech

View File

@ -54,7 +54,7 @@ you can read more about it in <a href="https://issues.apache.org/jira/browse/LAN
interface, both found in the <code>org.apache.commons.lang.text</code> package.</p>
<p>Together they allow you to take the <code>java.text.MessageFormat</code> class further and insert your own formatting elements.</p>
<p>
By way of an example, imagine that we have a need for custom formatting of a employee identification
By way of an example, imagine that we have a need for custom formatting of an employee identification
number or EIN. Perhaps, simplistically, our EIN is composed of a two-character department code
followed by a four-digit number, and that it is customary within our organization to render the EIN
with a hyphen following the department identifier. Here we'll represent the EIN as a simple

View File

@ -57,7 +57,7 @@ provide boolean fields for both versions. </p>
received two new types of methods. Firstly, a boolean isNotEmpty(array) set of methods, identifying whether the particular
array is null or an empty sized array. This makes it the inverse of the existing isEmpty(array) methods. Secondly, an array
nullToEmpty(array) set of methods that converts null or empty arrays to a singleton empty array already available from the
ArrayUtils class. Non null/empty arrays are left untouched. </p>
ArrayUtils class. Non-null/empty arrays are left untouched. </p>
<p>The constructor for the
<a href="https://commons.apache.org/lang/api-release/org/apache/commons/lang/CharRange.html">CharRange</a> class is somewhat
@ -96,7 +96,7 @@ grown and we cover its new methods in its own section. </p>
<li>abbreviateMiddle(String, String, int);String - This method turns aRatherLongNameSuchAsAFileName into 'aRatherLo...AFileName'.
This is often desirable when you want to restrict the length of a name, but you can afford to have quite long names. </li>
<li>indexOfIgnoreCase(String, String);int - An indexOf method that ignores the case of what it's matching. Matching lastIndexOfIgnoreCase and 'start at index' variants were also added. </li>
<li>lastOrdinalIndexOf(String, String, int);int - A matching variant for the already exisitng ordinalIndexOf method - they
<li>lastOrdinalIndexOf(String, String, int);int - A matching variant for the already existing ordinalIndexOf method - they
support finding the Nth indexOf instead of the first time the search term is found. </li>
<li>isAllLowerCase(String);boolean - Is the String all lower case. </li>
<li>isAllUpperCase(String);boolean - Is the String all upper case. </li>
@ -113,7 +113,7 @@ support finding the Nth indexOf instead of the first time the search term is fou
<li><a href="https://issues.apache.org/jira/browse/LANG-477">LANG-477</a> - fixing an OutOfMemoryError in ExtendedMessageFormat. </li>
<li><a href="https://issues.apache.org/jira/browse/LANG-76">LANG-76</a> - EnumUtils.getEnum() doesn't work well in 1.5. </li>
<li><a href="https://issues.apache.org/jira/browse/LANG-204">LANG-204</a> and
<a href="https://issues.apache.org/jira/browse/LANG-506">LANG-506</a> - Multithread improvements to the package private Entities
<a href="https://issues.apache.org/jira/browse/LANG-506">LANG-506</a> - Multithreading improvements to the package private Entities
class, used behind the scenes by StringEscapeUtils. </li>
<li><a href="https://issues.apache.org/jira/browse/LANG-511">LANG-511</a> - Improve performance by deferring LocaleUtils initialization. </li>
<li><a href="https://issues.apache.org/jira/browse/LANG-523">LANG-523</a> - Two orders of magnitude performance improvement in StrBuilder. </li>

View File

@ -75,10 +75,10 @@ we will remove the related methods in Lang 4.0. </p>
</section>
<section name="New packages">
<p>Two new packages have shown up. org.apache.commons.lang3.concurrent, which unsurprisingly provides support classes for
multi-threaded programming, and org.apache.commons.lang3.text.translate, which provides a pluggable API for text transformation. </p>
multithreaded programming, and org.apache.commons.lang3.text.translate, which provides a pluggable API for text transformation. </p>
<h3>concurrent.*</h3>
<p>Java 1.5 adds a great bunch of functionality related to multi-threaded programming
<p>Java 1.5 adds a great bunch of functionality related to multithreaded programming
below the <code>java.util.concurrent</code> package. Commons Lang 3.0 provides
some additional classes in this area which are intended to further simplify the
development of concurrent applications.</p>
@ -93,7 +93,7 @@ divided into the following categories:
typically has to implement manually again and again. Examples are a configurable
<code>ThreadFactory</code> implementation or utility methods for the handling of
<code>ExecutionException</code>s thrown by Java's executor service framework.</p>
<p>Initializer classes deal with the creation of objects in a multi-threaded
<p>Initializer classes deal with the creation of objects in a multithreaded
environment. There are several variants of initializer implementations serving
different purposes. For instance, there are a couple of concrete initializers
supporting lazy initialization of objects in a safe way. Another example is

View File

@ -152,7 +152,7 @@ limitations under the License.
<td>
<strong>Commons Commits List</strong>
<br /><br />
Only for e-mails automatically generated by the <a href="scm.html">source control</a> sytem.
Only for e-mails automatically generated by the <a href="scm.html">source control</a> system.
<br /><br />
</td>
<td><a href="mailto:commits-subscribe@commons.apache.org">Subscribe</a></td>

View File

@ -163,7 +163,7 @@ ID Sev Pri Plt Owner State Result Summary
17654 EnumUtils nit: The import java.io.Serializable is never used
17882 Add join(..., char c) to StringUtils (and some performance f
18077 StringUtils.chomp does not match Perl
18723 RandomStringUtils infloops with length &lt; 1
18723 RandomStringUtils infinite loop with length &lt; 1
18836 test.lang fails if compiled with non iso-8859-1 locales
18948 Resurrect the WordWrapUtils from commons-sandbox/utils
19296 [Lang] What to do with FastDateFormat unused private constru

View File

@ -39,7 +39,7 @@ INCOMPATIBLE CHANGES:
- 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -55,7 +55,7 @@ for more details.
DEPRECATIONS:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -146,7 +146,7 @@ BUG FIXES:
30929 Nestable.indexOfThrowable(Class) uses Class.equals() to match
31395 DateUtils.truncate oddity at the far end of the Date spectrum
31478 Compile error with JDK 5 "enum" is a keyword
31572 o.a.c.lang.enum.ValuedEnum: 'enum'is a keyword in JDK1.5.0
31572 o.a.c.lang.enum.ValuedEnum: 'enum' is a keyword in JDK 1.5.0
31933 ToStringStyle setArrayEnd handled null incorrectly
32133 SystemUtils fails init on HP-UX
32198 Error in Javadoc for StringUtils.chomp(String, String)

View File

@ -44,7 +44,7 @@ ADDITIONAL 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -67,7 +67,7 @@ DEPRECATIONS FROM 2.1 to 2.2:
DEPRECATIONS FROM 2.0 to 2.1:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -82,7 +82,7 @@ BUG FIXES IN 2.3:
* [LANG-69 ] - ToStringBuilder throws StackOverflowError when an Object cycle exists
* [LANG-102] - Refactor Entities methods
* [LANG-153] - Can't XMLDecode an Enum
* [LANG-262] - Use of enum prevents a classloader from being garbage collected resuling in out of memory exceptions.
* [LANG-262] - Use of enum prevents a classloader from being garbage collected resulting in out of memory exceptions.
* [LANG-279] - HashCodeBuilder throws java.lang.StackOverflowError when an object contains a cycle.
* [LANG-281] - DurationFormatUtils returns wrong result
* [LANG-286] - Serialization - not backwards compatible

View File

@ -50,7 +50,7 @@ ADDITIONAL 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 behavior (ie. its a bug fix).
For most situations this will be the expected behavior (i.e. it's 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.
@ -81,7 +81,7 @@ DEPRECATIONS FROM 2.1 to 2.2:
DEPRECATIONS FROM 2.0 to 2.1:
- The enum package has been renamed to enums for JDK1.5 compilance.
- The enum package has been renamed to enums for JDK 1.5 compliance.
All functionality is identical, just the package has changed.
This package will be removed in v3.0.
@ -101,7 +101,7 @@ BUG FIXES IN 2.4:
* [LANG-353] - Javadoc Example for EqualsBuilder is questionable
* [LANG-360] - Why does appendIdentityToString return null?
* [LANG-361] - BooleanUtils toBooleanObject javadoc does not match implementation
* [LANG-363] - StringEscapeUtils..escapeJavaScript() method did not escape '/' into '\/', it will make IE render page uncorrectly
* [LANG-363] - StringEscapeUtils..escapeJavaScript() method did not escape '/' into '\/', it will make IE render page incorrectly
* [LANG-364] - Documentation bug for ignoreEmptyTokens accessors in StrTokenizer
* [LANG-365] - BooleanUtils.toBoolean() - invalid drop-thru in case statement causes StringIndexOutOfBoundsException
* [LANG-367] - FastDateFormat thread safety

View File

@ -78,7 +78,7 @@ BUG FIXES IN 2.5
* [LANG-538] - FastDateFormat - call getTime() on a calendar to ensure timezone is in the right state
* [LANG-547] - FastDateFormat - Remove unused field
* [LANG-511] - LocaleUtils - initialization of available locales can be deferred
* [LANG-457] - NumberUtils - createNumber() thows a StringIndexOutOfBoundsException for "l"
* [LANG-457] - NumberUtils - createNumber() throws a StringIndexOutOfBoundsException for "l"
* [LANG-521] - NumberUtils - isNumber(String) and createNumber(String) both modified to support '2.'
* [LANG-432] - StringUtils - improve handling of case-insensitive Strings
* [LANG-552] - StringUtils - replaceEach() no longer NPEs when null appears in the last String[]

View File

@ -75,7 +75,7 @@ OTHER CHANGES IN 2.6
* [LANG-600] - Javadoc is incorrect for lastIndexOf() method
* [LANG-628] - Javadoc for HashCodeBuilder.append(boolean) does not match implementation
* [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative lenth, but doesn't
* [LANG-643] - Javadoc StringUtils.left() claims to throw an exception on negative length, but doesn't
* [LANG-370] - Javadoc - document thread safety
* [LANG-623] - Test for StringUtils replaceChars() icelandic characters

View File

@ -152,14 +152,14 @@ BUG FIXES IN 3.0
[LANG-645] FastDateFormat.format() outputs incorrect week of year because locale isn't respected
[LANG-646] StringEscapeUtils.unescapeJava doesn't handle octal escapes and Unicode with extra u
[LANG-656] Example StringUtils.indexOfAnyBut("zzabyycdxx", '') = 0 incorrect
[LANG-658] Some Entitys like &amp;Ouml; are not matched properly against its ISO8859-1 representation
[LANG-658] Some entities like &amp;Ouml; are not matched properly against its ISO8859-1 representation
[LANG-659] EntityArrays typo: {"\u2122", "&amp;minus;"}, // minus sign, U+2212 ISOtech
[LANG-66] StringEscaper.escapeXml() escapes characters &gt; 0x7f.
[LANG-662] org.apache.commons.lang3.math.Fraction does not reduce (Integer.MIN_VALUE, 2^k)
[LANG-663] org.apache.commons.lang3.math.Fraction does not always succeed in multiplyBy and divideBy
[LANG-664] NumberUtils.isNumber(String) is not right when the String is "1.1L"
[LANG-672] Doc bug in DateUtils#ceiling
[LANG-677] DateUtils.isSameLocalTime compares using 12 hour clock and not 24 hour
[LANG-677] DateUtils.isSameLocalTime compares using 12-hour clock and not 24-hour
[LANG-685] EqualsBuilder synchronizes on HashCodeBuilder.
[LANG-703] StringUtils.join throws NPE when toString returns null for one of objects in collection
[LANG-710] StringIndexOutOfBoundsException when calling unescapeHtml4("&amp;#03")