Standardize on American English spelling of 'behavior'.

This commit is contained in:
Gary Gregory 2020-03-30 15:03:29 -04:00
parent 36c4cc67a1
commit 9747b14469
36 changed files with 57 additions and 57 deletions

View File

@ -418,7 +418,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -1128,7 +1128,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -189,7 +189,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-1256" type="add" dev="pschumacher" due-to="C0rWin">Add JMH maven dependencies</action>
<action issue="LANG-1167" type="add" dev="chtompki" due-to="Mark Dacek">Add null filter to ReflectionToStringBuilder</action>
<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 behaviour of int-based indexOf methods in StringUtils</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-660" type="add" dev="djones">Add methods to insert arrays into arrays at an index</action>
@ -523,7 +523,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-828" type="fix">FastDateParser does not handle non-Gregorian calendars properly</action>
<action issue="LANG-826" type="fix">FastDateParser does not handle non-ASCII digits correctly</action>
<action issue="LANG-825" type="add">Create StrBuilder APIs similar to String.format(String, Object...)</action>
<action issue="LANG-822" type="fix">NumberUtils#createNumber - bad behaviour for leading "--"</action>
<action issue="LANG-822" type="fix">NumberUtils#createNumber - bad behavior for leading "--"</action>
<action issue="LANG-818" type="fix">FastDateFormat's "z" pattern does not respect timezone of Calendar instances passed to format()</action>
<action issue="LANG-817" type="fix">Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8</action>
<action issue="LANG-813" type="fix">StringUtils.equalsIgnoreCase doesn't check string reference equality</action>

View File

@ -41,7 +41,7 @@ import org.apache.commons.lang3.mutable.MutableInt;
* <p>This class tries to handle {@code null} input gracefully.
* An exception will not be thrown for a {@code null}
* array input. However, an Object array that contains a {@code null}
* element may throw an exception. Each method documents its behaviour.
* element may throw an exception. Each method documents its behavior.
*
* <p>#ThreadSafe#
* @since 2.0

View File

@ -23,7 +23,7 @@ import org.apache.commons.lang3.math.NumberUtils;
*
* <p>This class tries to handle {@code null} input gracefully.
* An exception will not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>#ThreadSafe#</p>
* @since 2.0

View File

@ -21,7 +21,7 @@ package org.apache.commons.lang3;
*
* <p>This class handles {@code null} input gracefully.
* An exception will not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>#ThreadSafe#</p>
* @see CharSet

View File

@ -21,7 +21,7 @@ package org.apache.commons.lang3;
*
* <p>This class tries to handle {@code null} input gracefully.
* An exception will not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>#ThreadSafe#</p>
* @since 2.1

View File

@ -34,7 +34,7 @@ import org.apache.commons.lang3.mutable.MutableObject;
* <p>Operates on classes without using reflection.</p>
*
* <p>This class handles invalid {@code null} inputs as best it can.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>The notion of a {@code canonical name} includes the human
* readable name for the type, for example {@code int[]}. The

View File

@ -31,7 +31,7 @@ import java.util.concurrent.ConcurrentMap;
*
* <p>This class tries to handle {@code null} input gracefully.
* An exception will not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* @since 2.2
*/
@ -71,7 +71,7 @@ public class LocaleUtils {
* LocaleUtils.toLocale("en_GB_xxx") = new Locale("en", "GB", "xxx") (#)
* </pre>
*
* <p>(#) The behaviour of the JDK variant constructor changed between JDK1.3 and JDK1.4.
* <p>(#) The behavior of the JDK variant constructor changed between JDK1.3 and JDK1.4.
* In JDK1.3, the constructor upper cases the variant, in JDK1.4, it doesn't.
* Thus, the result from getVariant() may vary depending on your JDK.</p>
*

View File

@ -38,7 +38,7 @@ import org.apache.commons.lang3.text.StrBuilder;
*
* <p>This class tries to handle {@code null} input gracefully.
* An exception will generally not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>#ThreadSafe#</p>
* @since 1.0

View File

@ -39,7 +39,7 @@ import java.util.Map;
* </ul>
*
* <p>This class throws exceptions for invalid {@code null} inputs.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* <p>#ThreadSafe#</p>
* @since 1.0

View File

@ -1894,7 +1894,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Deletes all parts of the builder that the matcher matches.
* <p>
* Matchers can be used to perform advanced deletion behaviour.
* Matchers can be used to perform advanced deletion behavior.
* For example you could write a matcher to delete all occurrences
* where the character 'a' is followed by a number.
*
@ -1908,7 +1908,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Deletes the first match within the builder using the specified matcher.
* <p>
* Matchers can be used to perform advanced deletion behaviour.
* Matchers can be used to perform advanced deletion behavior.
* For example you could write a matcher to delete
* where the character 'a' is followed by a number.
*
@ -2044,7 +2044,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Replaces all matches within the builder with the replace string.
* <p>
* Matchers can be used to perform advanced replace behaviour.
* Matchers can be used to perform advanced replace behavior.
* For example you could write a matcher to replace all occurrences
* where the character 'a' is followed by a number.
*
@ -2059,7 +2059,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Replaces the first match within the builder with the replace string.
* <p>
* Matchers can be used to perform advanced replace behaviour.
* Matchers can be used to perform advanced replace behavior.
* For example you could write a matcher to replace
* where the character 'a' is followed by a number.
*
@ -2075,7 +2075,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Advanced search and replaces within the builder using a matcher.
* <p>
* Matchers can be used to perform advanced behaviour.
* Matchers can be used to perform advanced behavior.
* For example you could write a matcher to delete all occurrences
* where the character 'a' is followed by a number.
*
@ -2098,7 +2098,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Replaces within the builder using a matcher.
* <p>
* Matchers can be used to perform advanced behaviour.
* Matchers can be used to perform advanced behavior.
* For example you could write a matcher to delete all occurrences
* where the character 'a' is followed by a number.
*
@ -2390,7 +2390,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
* Checks if the string builder contains a string matched using the
* specified matcher.
* <p>
* Matchers can be used to perform advanced searching behaviour.
* Matchers can be used to perform advanced searching behavior.
* For example you could write a matcher to search for the character
* 'a' followed by a number.
*
@ -2487,7 +2487,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Searches the string builder using the matcher to find the first match.
* <p>
* Matchers can be used to perform advanced searching behaviour.
* Matchers can be used to perform advanced searching behavior.
* For example you could write a matcher to find the character 'a'
* followed by a number.
*
@ -2502,7 +2502,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
* Searches the string builder using the matcher to find the first
* match searching from the given index.
* <p>
* Matchers can be used to perform advanced searching behaviour.
* Matchers can be used to perform advanced searching behavior.
* For example you could write a matcher to find the character 'a'
* followed by a number.
*
@ -2608,7 +2608,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
/**
* Searches the string builder using the matcher to find the last match.
* <p>
* Matchers can be used to perform advanced searching behaviour.
* Matchers can be used to perform advanced searching behavior.
* For example you could write a matcher to find the character 'a'
* followed by a number.
*
@ -2623,7 +2623,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable, Build
* Searches the string builder using the matcher to find the last
* match searching from the given index.
* <p>
* Matchers can be used to perform advanced searching behaviour.
* Matchers can be used to perform advanced searching behavior.
* For example you could write a matcher to find the character 'a'
* followed by a number.
*

View File

@ -27,7 +27,7 @@ import org.apache.commons.lang3.StringUtils;
*
* <p>This class tries to handle {@code null} input gracefully.
* An exception will not be thrown for a {@code null} input.
* Each method documents its behaviour in more detail.</p>
* Each method documents its behavior in more detail.</p>
*
* @since 2.0
* @deprecated as of 3.6, use commons-text

View File

@ -54,7 +54,7 @@ public class NumericEntityUnescaper extends CharSequenceTranslator {
* and to throw an IllegalArgumentException when they're missing:
* new NumericEntityUnescaper(NumericEntityUnescaper.OPTION.errorIfNoSemiColon)
*
* Note that the default behaviour is to ignore them.
* Note that the default behavior is to ignore them.
*
* @param options to apply to this unescaper
*/

View File

@ -24,7 +24,7 @@ import java.util.Map;
* <p>Although the implementation is immutable, there is no restriction on the objects
* that may be stored. If mutable objects are stored in the pair, then the pair
* itself effectively becomes mutable. The class is also {@code final}, so a subclass
* can not add undesirable behaviour.</p>
* can not add undesirable behavior.</p>
*
* <p>#ThreadSafe# if both paired objects are thread-safe</p>
*

View File

@ -22,7 +22,7 @@ package org.apache.commons.lang3.tuple;
* <p>Although the implementation is immutable, there is no restriction on the objects
* that may be stored. If mutable objects are stored in the triple, then the triple
* itself effectively becomes mutable. The class is also {@code final}, so a subclass
* can not add undesirable behaviour.</p>
* can not add undesirable behavior.</p>
*
* <p>#ThreadSafe# if all three objects are thread-safe</p>
*

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.
@ -98,7 +98,7 @@ indexOfThrowable method untouched (see incompatible changes section)
-- method to parse a date string using multiple patterns
- FastDateFormat - extra formatting methods that take in a millisecond long value
-- additional static factory methods
- StopWatch - new methods for split behaviour
- StopWatch - new methods for split behavior
BUG FIXES:

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.

View File

@ -147,7 +147,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -135,7 +135,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -226,7 +226,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -239,7 +239,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -212,7 +212,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -372,7 +372,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -668,7 +668,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -142,7 +142,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -852,7 +852,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -194,7 +194,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -904,7 +904,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -288,7 +288,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -998,7 +998,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -255,7 +255,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -965,7 +965,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -311,7 +311,7 @@ o LANG-1319: MultilineRecursiveToStringStyle StackOverflowError when object is
an array.
o LANG-1320: LocaleUtils#toLocale does not support language followed by UN M.49
numeric-3 area code followed by variant.
o LANG-1300: Clarify or improve behaviour of int-based indexOf methods in
o LANG-1300: Clarify or improve behavior of int-based indexOf methods in
StringUtils. Thanks to Mark Dacek.
o LANG-1286: RandomStringUtils random method can overflow and return characters
outside of specified range.
@ -1021,7 +1021,7 @@ o LANG-831: FastDateParser does not handle white-space properly.
o LANG-830: FastDateParser could use \Q \E to quote regexes.
o LANG-828: FastDateParser does not handle non-Gregorian calendars properly.
o LANG-826: FastDateParser does not handle non-ASCII digits correctly.
o LANG-822: NumberUtils#createNumber - bad behaviour for leading "--".
o LANG-822: NumberUtils#createNumber - bad behavior for leading "--".
o LANG-818: FastDateFormat's "z" pattern does not respect timezone of Calendar
instances passed to format().
o LANG-817: Add org.apache.commons.lang3.SystemUtils.IS_OS_WINDOWS_8.

View File

@ -184,7 +184,7 @@ available in the <a href="userguide.html#lang.concurrent.">user guide</a>.</p>
<ul>
<li>StringUtils.isAlpha, isNumeric and isAlphanumeric now all return false when passed an empty String. Previously they returned true. </li>
<li>SystemUtils.isJavaVersionAtLeast now relies on the <code>java.specification.version</code> and not the <code>java.version</code> System property. </li>
<li>StringEscapeUtils.escapeXml and escapeHtml no longer escape high value Unicode characters by default. The text.translate package is available to recreate the old behaviour. </li>
<li>StringEscapeUtils.escapeXml and escapeHtml no longer escape high value Unicode characters by default. The text.translate package is available to recreate the old behavior. </li>
<li>Validate utility methods have been changed and genericized to return the
validated argument where possible, to allow for inline use. </li>
<li>Validate utility methods handle validity violations arising from

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.
@ -105,7 +105,7 @@ indexOfThrowable method untouched (see incompatible changes section)
-- method to parse a date string using multiple patterns
- FastDateFormat - extra formatting methods that take in a millisecond long value
-- additional static factory methods
- StopWatch - new methods for split behaviour
- StopWatch - new methods for split behavior
BUG FIXES:

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.

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 behaviour (ie. its a bug fix).
For most situations this will be the expected behavior (ie. its a bug fix).
If it causes problems, please use the ExceptionUtils.indexOfThrowable(Class) method instead.
Note that the ExceptionUtils method is available in v1.0 and v2.0 of commons-lang and has not been changed.
(An alternative to this is to change the public static matchSubclasses flag on NestableDelegate.

View File

@ -501,11 +501,11 @@ public class StringEscapeUtilsTest {
final String original = "\u304B\u304C\u3068";
final String escaped = StringEscapeUtils.escapeHtml4(original);
assertEquals(original, escaped,
"Hiragana character Unicode behaviour should not be being escaped by escapeHtml4");
"Hiragana character Unicode behavior should not be being escaped by escapeHtml4");
final String unescaped = StringEscapeUtils.unescapeHtml4( escaped );
assertEquals(escaped, unescaped, "Hiragana character Unicode behaviour has changed - expected no unescaping");
assertEquals(escaped, unescaped, "Hiragana character Unicode behavior has changed - expected no unescaping");
}
/**