[LANG-845] Spelling fixes.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1401523 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a0bcc6d0f
commit
641aa249c3
|
@ -22,6 +22,7 @@
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<release version="3.2" date="TBA" description="Next release">
|
<release version="3.2" date="TBA" description="Next release">
|
||||||
|
<action issue="LANG-845" type="fix">Spelling fixes</action>
|
||||||
<action issue="LANG-844" type="fix">Fix examples contained in javadoc of StringUtils.center methods</action>
|
<action issue="LANG-844" type="fix">Fix examples contained in javadoc of StringUtils.center methods</action>
|
||||||
<action issue="LANG-841" type="add">Add StringUtils API to call String.replaceAll in DOTALL a.k.a. single-line mode</action>
|
<action issue="LANG-841" type="add">Add StringUtils API to call String.replaceAll in DOTALL a.k.a. single-line mode</action>
|
||||||
<action issue="LANG-839" type="update">ArrayUtils removeElements methods use unnecessary HashSet</action>
|
<action issue="LANG-839" type="update">ArrayUtils removeElements methods use unnecessary HashSet</action>
|
||||||
|
@ -212,7 +213,7 @@
|
||||||
<action type="fix" issue="LANG-369">ExceptionUtils not thread-safe.</action>
|
<action type="fix" issue="LANG-369">ExceptionUtils not thread-safe.</action>
|
||||||
<action type="add" issue="LANG-358">ObjectUtils.coalesce.</action>
|
<action type="add" issue="LANG-358">ObjectUtils.coalesce.</action>
|
||||||
<action type="update" issue="LANG-355">StrBuilder should implement CharSequence and Appendable.</action>
|
<action type="update" issue="LANG-355">StrBuilder should implement CharSequence and Appendable.</action>
|
||||||
<action type="fix" issue="LANG-339">StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.</action>
|
<action type="fix" issue="LANG-339">StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanese, etc.</action>
|
||||||
<action type="update" issue="LANG-336">Finally start using generics.</action>
|
<action type="update" issue="LANG-336">Finally start using generics.</action>
|
||||||
<action type="fix" issue="LANG-302">StrBuilder does not implement clone().</action>
|
<action type="fix" issue="LANG-302">StrBuilder does not implement clone().</action>
|
||||||
<action type="update" issue="LANG-290">EnumUtils for JDK 5.0.</action>
|
<action type="update" issue="LANG-290">EnumUtils for JDK 5.0.</action>
|
||||||
|
@ -547,7 +548,7 @@
|
||||||
<action type="fix" issue="LANG-35">Should ToStringBuilder.reflectionToString handle arrays?.</action>
|
<action type="fix" issue="LANG-35">Should ToStringBuilder.reflectionToString handle arrays?.</action>
|
||||||
<action type="fix" issue="LANG-83">EnumUtils nit: The import java.io.Serializable is never used.</action>
|
<action type="fix" issue="LANG-83">EnumUtils nit: The import java.io.Serializable is never used.</action>
|
||||||
<action type="fix" issue="LANG-12">Example in Javadoc for ToStringBuilder wrong for append.</action>
|
<action type="fix" issue="LANG-12">Example in Javadoc for ToStringBuilder wrong for append.</action>
|
||||||
<action type="fix" issue="LANG-110">Added class hierachy support to HashCodeBuilder.reflectionHashCode().</action>
|
<action type="fix" issue="LANG-110">Added class hierarchy support to HashCodeBuilder.reflectionHashCode().</action>
|
||||||
<action type="fix" issue="LANG-71">ExceptionUtils new methods.</action>
|
<action type="fix" issue="LANG-71">ExceptionUtils new methods.</action>
|
||||||
<action type="fix" issue="LANG-15">Infinite loop in StringUtils.replace(text, repl, with) + FIX.</action>
|
<action type="fix" issue="LANG-15">Infinite loop in StringUtils.replace(text, repl, with) + FIX.</action>
|
||||||
<action type="fix" issue="LANG-93">StackOverflow due to ToStringBuilder.</action>
|
<action type="fix" issue="LANG-93">StackOverflow due to ToStringBuilder.</action>
|
||||||
|
@ -579,7 +580,7 @@
|
||||||
<action type="add" issue="LANG-231">Resurrect the WordWrapUtils from commons-sandbox/utils.</action>
|
<action type="add" issue="LANG-231">Resurrect the WordWrapUtils from commons-sandbox/utils.</action>
|
||||||
<action type="fix" issue="LANG-139">EnumTest fails on Linux Sun JDK 1.3.0.</action>
|
<action type="fix" issue="LANG-139">EnumTest fails on Linux Sun JDK 1.3.0.</action>
|
||||||
<action type="add" issue="LANG-234">What to do with FastDateFormat unused private constructors.</action>
|
<action type="add" issue="LANG-234">What to do with FastDateFormat unused private constructors.</action>
|
||||||
<action type="add" issue="LANG-240">Added class hierachy support to CompareToBuilder.reflectionCompare().</action>
|
<action type="add" issue="LANG-240">Added class hierarchy support to CompareToBuilder.reflectionCompare().</action>
|
||||||
<action type="add" issue="LANG-190">Removed compile warning in FastDateFormat.</action>
|
<action type="add" issue="LANG-190">Removed compile warning in FastDateFormat.</action>
|
||||||
<action type="fix" issue="LANG-97">typo in the Javadoc example code.</action>
|
<action type="fix" issue="LANG-97">typo in the Javadoc example code.</action>
|
||||||
<action type="add" issue="LANG-249">MethodUtils: Removed unused code/unused local vars.</action>
|
<action type="add" issue="LANG-249">MethodUtils: Removed unused code/unused local vars.</action>
|
||||||
|
|
|
@ -1362,7 +1362,7 @@ public class ArrayUtils {
|
||||||
*
|
*
|
||||||
* @param array the array to retrieve the length from, may be null
|
* @param array the array to retrieve the length from, may be null
|
||||||
* @return The length of the array, or {@code 0} if the array is {@code null}
|
* @return The length of the array, or {@code 0} if the array is {@code null}
|
||||||
* @throws IllegalArgumentException if the object arguement is not an array.
|
* @throws IllegalArgumentException if the object argument is not an array.
|
||||||
* @since 2.1
|
* @since 2.1
|
||||||
*/
|
*/
|
||||||
public static int getLength(Object array) {
|
public static int getLength(Object array) {
|
||||||
|
|
|
@ -905,7 +905,7 @@ public class ClassUtils {
|
||||||
* @param parameterTypes the list of parameters
|
* @param parameterTypes the list of parameters
|
||||||
* @return the method
|
* @return the method
|
||||||
* @throws NullPointerException if the class is null
|
* @throws NullPointerException if the class is null
|
||||||
* @throws SecurityException if a a security violation occured
|
* @throws SecurityException if a security violation occurred
|
||||||
* @throws NoSuchMethodException if the method is not found in the given class
|
* @throws NoSuchMethodException if the method is not found in the given class
|
||||||
* or if the metothod doen't conform with the requirements
|
* or if the metothod doen't conform with the requirements
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -381,7 +381,7 @@ public class ExceptionUtils {
|
||||||
* negative treated as zero, larger than chain size returns -1
|
* negative treated as zero, larger than chain size returns -1
|
||||||
* @param subclass if <code>true</code>, compares with {@link Class#isAssignableFrom(Class)}, otherwise compares
|
* @param subclass if <code>true</code>, compares with {@link Class#isAssignableFrom(Class)}, otherwise compares
|
||||||
* using references
|
* using references
|
||||||
* @return index of the <code>type</code> within throwables nested withing the specified <code>throwable</code>
|
* @return index of the <code>type</code> within throwables nested within the specified <code>throwable</code>
|
||||||
*/
|
*/
|
||||||
private static int indexOf(Throwable throwable, Class<?> type, int fromIndex, boolean subclass) {
|
private static int indexOf(Throwable throwable, Class<?> type, int fromIndex, boolean subclass) {
|
||||||
if (throwable == null || type == null) {
|
if (throwable == null || type == null) {
|
||||||
|
|
|
@ -922,7 +922,7 @@ public final class Fraction extends Number implements Comparable<Fraction> {
|
||||||
* <p>Gets the fraction as a proper <code>String</code> in the format X Y/Z.</p>
|
* <p>Gets the fraction as a proper <code>String</code> in the format X Y/Z.</p>
|
||||||
*
|
*
|
||||||
* <p>The format used in '<i>wholeNumber</i> <i>numerator</i>/<i>denominator</i>'.
|
* <p>The format used in '<i>wholeNumber</i> <i>numerator</i>/<i>denominator</i>'.
|
||||||
* If the whole number is zero it will be ommitted. If the numerator is zero,
|
* If the whole number is zero it will be omitted. If the numerator is zero,
|
||||||
* only the whole number is returned.</p>
|
* only the whole number is returned.</p>
|
||||||
*
|
*
|
||||||
* @return a <code>String</code> form of the fraction
|
* @return a <code>String</code> form of the fraction
|
||||||
|
|
|
@ -1688,7 +1688,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
|
||||||
* Deletes all parts of the builder that the matcher matches.
|
* Deletes all parts of the builder that the matcher matches.
|
||||||
* <p>
|
* <p>
|
||||||
* Matchers can be used to perform advanced deletion behaviour.
|
* Matchers can be used to perform advanced deletion behaviour.
|
||||||
* For example you could write a matcher to delete all occurances
|
* For example you could write a matcher to delete all occurrences
|
||||||
* where the character 'a' is followed by a number.
|
* where the character 'a' is followed by a number.
|
||||||
*
|
*
|
||||||
* @param matcher the matcher to use to find the deletion, null causes no action
|
* @param matcher the matcher to use to find the deletion, null causes no action
|
||||||
|
@ -1838,7 +1838,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
|
||||||
* Replaces all matches within the builder with the replace string.
|
* Replaces all matches within the builder with the replace string.
|
||||||
* <p>
|
* <p>
|
||||||
* Matchers can be used to perform advanced replace behaviour.
|
* Matchers can be used to perform advanced replace behaviour.
|
||||||
* For example you could write a matcher to replace all occurances
|
* For example you could write a matcher to replace all occurrences
|
||||||
* where the character 'a' is followed by a number.
|
* where the character 'a' is followed by a number.
|
||||||
*
|
*
|
||||||
* @param matcher the matcher to use to find the deletion, null causes no action
|
* @param matcher the matcher to use to find the deletion, null causes no action
|
||||||
|
@ -1869,7 +1869,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
|
||||||
* Advanced search and replaces within the builder using a matcher.
|
* Advanced search and replaces within the builder using a matcher.
|
||||||
* <p>
|
* <p>
|
||||||
* Matchers can be used to perform advanced behaviour.
|
* Matchers can be used to perform advanced behaviour.
|
||||||
* For example you could write a matcher to delete all occurances
|
* For example you could write a matcher to delete all occurrences
|
||||||
* where the character 'a' is followed by a number.
|
* where the character 'a' is followed by a number.
|
||||||
*
|
*
|
||||||
* @param matcher the matcher to use to find the deletion, null causes no action
|
* @param matcher the matcher to use to find the deletion, null causes no action
|
||||||
|
@ -1892,7 +1892,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
|
||||||
* Replaces within the builder using a matcher.
|
* Replaces within the builder using a matcher.
|
||||||
* <p>
|
* <p>
|
||||||
* Matchers can be used to perform advanced behaviour.
|
* Matchers can be used to perform advanced behaviour.
|
||||||
* For example you could write a matcher to delete all occurances
|
* For example you could write a matcher to delete all occurrences
|
||||||
* where the character 'a' is followed by a number.
|
* where the character 'a' is followed by a number.
|
||||||
*
|
*
|
||||||
* @param matcher the matcher to use to find the deletion, null causes no action
|
* @param matcher the matcher to use to find the deletion, null causes no action
|
||||||
|
|
|
@ -230,7 +230,7 @@ public abstract class StrMatcher {
|
||||||
* Only values in the buffer between the specifed indices may be accessed.
|
* Only values in the buffer between the specifed indices may be accessed.
|
||||||
* <p>
|
* <p>
|
||||||
* The matching code may check one character or many.
|
* The matching code may check one character or many.
|
||||||
* It may check characters preceeding <code>pos</code> as well as those
|
* It may check characters preceding <code>pos</code> as well as those
|
||||||
* after, so long as no checks exceed the bounds specified.
|
* after, so long as no checks exceed the bounds specified.
|
||||||
* <p>
|
* <p>
|
||||||
* It must return zero for no match, or a positive number if a match was found.
|
* It must return zero for no match, or a positive number if a match was found.
|
||||||
|
@ -254,7 +254,7 @@ public abstract class StrMatcher {
|
||||||
* The API guarantees that <code>pos</code> is a valid index for <code>buffer</code>.
|
* The API guarantees that <code>pos</code> is a valid index for <code>buffer</code>.
|
||||||
* <p>
|
* <p>
|
||||||
* The matching code may check one character or many.
|
* The matching code may check one character or many.
|
||||||
* It may check characters preceeding <code>pos</code> as well as those after.
|
* It may check characters preceding <code>pos</code> as well as those after.
|
||||||
* <p>
|
* <p>
|
||||||
* It must return zero for no match, or a positive number if a match was found.
|
* It must return zero for no match, or a positive number if a match was found.
|
||||||
* The number indicates the number of characters that matched.
|
* The number indicates the number of characters that matched.
|
||||||
|
|
|
@ -288,7 +288,7 @@ public class StopWatch {
|
||||||
} else if (this.runningState == STATE_RUNNING) {
|
} else if (this.runningState == STATE_RUNNING) {
|
||||||
return System.nanoTime() - this.startTime;
|
return System.nanoTime() - this.startTime;
|
||||||
}
|
}
|
||||||
throw new RuntimeException("Illegal running state has occured. ");
|
throw new RuntimeException("Illegal running state has occurred.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -42,7 +42,7 @@ StringUtils.convertUnicodeToNative and convertNativeToUnicode both removed.
|
||||||
|
|
||||||
DEPRECATIONS:
|
DEPRECATIONS:
|
||||||
|
|
||||||
Much of the exception subpackage was reworked betwen 1.0-b1 and 1.0. Apart
|
Much of the exception subpackage was reworked between 1.0-b1 and 1.0. Apart
|
||||||
from this the API should have a high level of backward compatibility.
|
from this the API should have a high level of backward compatibility.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -127,8 +127,8 @@ ID Sev Pri Plt Owner State Result Summary
|
||||||
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
|
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
|
||||||
16202 typo in the javadoc example code
|
16202 typo in the javadoc example code
|
||||||
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
|
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
|
||||||
16227 Added class hierachy support to CompareToBuilder.reflectionC
|
16227 Added class hierarchy support to CompareToBuilder.reflectionC
|
||||||
16228 Added class hierachy support to HashCodeBuilder.reflectionHa
|
16228 Added class hierarchy support to HashCodeBuilder.reflectionHa
|
||||||
16284 MethodUtils: Removed unused code/unused local vars.
|
16284 MethodUtils: Removed unused code/unused local vars.
|
||||||
16341 No Javadoc for NestableDelegate
|
16341 No Javadoc for NestableDelegate
|
||||||
16622 Removed compile warning in FastDateFormat
|
16622 Removed compile warning in FastDateFormat
|
||||||
|
|
|
@ -111,7 +111,7 @@ BUG FIXES IN 3.0
|
||||||
|
|
||||||
[LANG-11] Depend on JDK 1.5+.
|
[LANG-11] Depend on JDK 1.5+.
|
||||||
[LANG-302] StrBuilder does not implement clone().
|
[LANG-302] StrBuilder does not implement clone().
|
||||||
[LANG-339] StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.
|
[LANG-339] StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanese, etc.
|
||||||
[LANG-369] ExceptionUtils not thread-safe.
|
[LANG-369] ExceptionUtils not thread-safe.
|
||||||
[LANG-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
|
[LANG-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
|
||||||
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""
|
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""
|
||||||
|
|
|
@ -141,7 +141,7 @@ However, it's not something to get worked up about. Lots of spelling difference
|
||||||
<h3>5.BUILDING</h3>
|
<h3>5.BUILDING</h3>
|
||||||
<h4>Building a Release</h4>
|
<h4>Building a Release</h4>
|
||||||
<p>
|
<p>
|
||||||
The currently targetted version of Java is 1.5.
|
The currently targeted version of Java is 1.5.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
To build Lang:
|
To build Lang:
|
||||||
|
|
|
@ -149,7 +149,7 @@ limitations under the License.
|
||||||
<td>
|
<td>
|
||||||
<strong>Commons Commits List</strong>
|
<strong>Commons Commits List</strong>
|
||||||
<br /><br />
|
<br /><br />
|
||||||
Only for e-mails automatically generated by the <a href="source-repository.html">source control</a> sytem.
|
Only for e-mails automatically generated by the <a href="source-repository.html">source control</a> system.
|
||||||
<br /><br />
|
<br /><br />
|
||||||
</td>
|
</td>
|
||||||
<td><a href="mailto:commits-subscribe@commons.apache.org">Subscribe</a></td>
|
<td><a href="mailto:commits-subscribe@commons.apache.org">Subscribe</a></td>
|
||||||
|
|
|
@ -149,8 +149,8 @@ ID Sev Pri Plt Owner State Result Summary
|
||||||
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
|
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
|
||||||
16202 typo in the javadoc example code
|
16202 typo in the javadoc example code
|
||||||
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
|
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
|
||||||
16227 Added class hierachy support to CompareToBuilder.reflectionC
|
16227 Added class hierarchy support to CompareToBuilder.reflectionC
|
||||||
16228 Added class hierachy support to HashCodeBuilder.reflectionHa
|
16228 Added class hierarchy support to HashCodeBuilder.reflectionHa
|
||||||
16284 MethodUtils: Removed unused code/unused local vars.
|
16284 MethodUtils: Removed unused code/unused local vars.
|
||||||
16341 No Javadoc for NestableDelegate
|
16341 No Javadoc for NestableDelegate
|
||||||
16622 Removed compile warning in FastDateFormat
|
16622 Removed compile warning in FastDateFormat
|
||||||
|
|
|
@ -124,7 +124,7 @@ BUG FIXES IN 3.0
|
||||||
|
|
||||||
[LANG-11] Depend on JDK 1.5+.
|
[LANG-11] Depend on JDK 1.5+.
|
||||||
[LANG-302] StrBuilder does not implement clone().
|
[LANG-302] StrBuilder does not implement clone().
|
||||||
[LANG-339] StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanes, etc.
|
[LANG-339] StringEscapeUtils.escapeHtml() escapes multibyte characters like Chinese, Japanese, etc.
|
||||||
[LANG-369] ExceptionUtils not thread-safe.
|
[LANG-369] ExceptionUtils not thread-safe.
|
||||||
[LANG-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
|
[LANG-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
|
||||||
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""
|
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""
|
||||||
|
|
|
@ -294,7 +294,7 @@ public class ServerThread implements Runnable {
|
||||||
high load, if multiple threads access the initializer concurrently, it is
|
high load, if multiple threads access the initializer concurrently, it is
|
||||||
possible that the <code>initialize()</code> method is invoked multiple
|
possible that the <code>initialize()</code> method is invoked multiple
|
||||||
times. The class guarantees that <code>get()</code> always returns the
|
times. The class guarantees that <code>get()</code> always returns the
|
||||||
same object though; so objects created accidently are immideately discarded.
|
same object though; so objects created accidentally are immideately discarded.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
With <code>AtomicSafeInitializer</code> there is yet another variant
|
With <code>AtomicSafeInitializer</code> there is yet another variant
|
||||||
|
@ -536,7 +536,7 @@ MyClass obj = ConcurrentUtils.initializeUnchecked(initializer);
|
||||||
need on demand. However, sometimes it is desired to set some properties of
|
need on demand. However, sometimes it is desired to set some properties of
|
||||||
the newly created worker threads. This is possible through the
|
the newly created worker threads. This is possible through the
|
||||||
<code>ThreadFactory</code> interface; an implementation of this interface
|
<code>ThreadFactory</code> interface; an implementation of this interface
|
||||||
has to be created and pased to an executor on creation time. Currently, the
|
has to be created and passed to an executor on creation time. Currently, the
|
||||||
JDK does not provide an implementation of <code>ThreadFactory</code>, so
|
JDK does not provide an implementation of <code>ThreadFactory</code>, so
|
||||||
one has to start from scratch.
|
one has to start from scratch.
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue