[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:
Gary D. Gregory 2012-10-24 00:50:52 +00:00
parent 6a0bcc6d0f
commit 641aa249c3
16 changed files with 26 additions and 25 deletions

View File

@ -22,6 +22,7 @@
<body>
<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-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>
@ -212,7 +213,7 @@
<action type="fix" issue="LANG-369">ExceptionUtils not thread-safe.</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="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="fix" issue="LANG-302">StrBuilder does not implement clone().</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-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-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-15">Infinite loop in StringUtils.replace(text, repl, with) + FIX.</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="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-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="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>

View File

@ -1362,7 +1362,7 @@ public class ArrayUtils {
*
* @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}
* @throws IllegalArgumentException if the object arguement is not an array.
* @throws IllegalArgumentException if the object argument is not an array.
* @since 2.1
*/
public static int getLength(Object array) {

View File

@ -905,7 +905,7 @@ public class ClassUtils {
* @param parameterTypes the list of parameters
* @return the method
* @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
* or if the metothod doen't conform with the requirements
*/

View File

@ -381,7 +381,7 @@ public class ExceptionUtils {
* negative treated as zero, larger than chain size returns -1
* @param subclass if <code>true</code>, compares with {@link Class#isAssignableFrom(Class)}, otherwise compares
* 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) {
if (throwable == null || type == null) {

View File

@ -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>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>
*
* @return a <code>String</code> form of the fraction

View File

@ -1688,7 +1688,7 @@ public class StrBuilder implements CharSequence, Appendable, Serializable {
* Deletes all parts of the builder that the matcher matches.
* <p>
* 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.
*
* @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.
* <p>
* 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.
*
* @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.
* <p>
* 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.
*
* @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.
* <p>
* 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.
*
* @param matcher the matcher to use to find the deletion, null causes no action

View File

@ -230,7 +230,7 @@ public abstract class StrMatcher {
* Only values in the buffer between the specifed indices may be accessed.
* <p>
* 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.
* <p>
* 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>.
* <p>
* 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>
* 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.

View File

@ -288,7 +288,7 @@ public class StopWatch {
} else if (this.runningState == STATE_RUNNING) {
return System.nanoTime() - this.startTime;
}
throw new RuntimeException("Illegal running state has occured. ");
throw new RuntimeException("Illegal running state has occurred.");
}
/**

View File

@ -42,7 +42,7 @@ StringUtils.convertUnicodeToNative and convertNativeToUnicode both removed.
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.

View File

@ -127,8 +127,8 @@ ID Sev Pri Plt Owner State Result Summary
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
16202 typo in the javadoc example code
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
16227 Added class hierachy support to CompareToBuilder.reflectionC
16228 Added class hierachy support to HashCodeBuilder.reflectionHa
16227 Added class hierarchy support to CompareToBuilder.reflectionC
16228 Added class hierarchy support to HashCodeBuilder.reflectionHa
16284 MethodUtils: Removed unused code/unused local vars.
16341 No Javadoc for NestableDelegate
16622 Removed compile warning in FastDateFormat

View File

@ -111,7 +111,7 @@ BUG FIXES IN 3.0
[LANG-11] Depend on JDK 1.5+.
[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-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""

View File

@ -141,7 +141,7 @@ However, it's not something to get worked up about. Lots of spelling difference
<h3>5.BUILDING</h3>
<h4>Building a Release</h4>
<p>
The currently targetted version of Java is 1.5.
The currently targeted version of Java is 1.5.
</p>
<p>
To build Lang:

View File

@ -149,7 +149,7 @@ limitations under the License.
<td>
<strong>Commons Commits List</strong>
<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 />
</td>
<td><a href="mailto:commits-subscribe@commons.apache.org">Subscribe</a></td>

View File

@ -149,8 +149,8 @@ ID Sev Pri Plt Owner State Result Summary
16193 Hierarchy support in EqualsBuilder.reflectionEquals()
16202 typo in the javadoc example code
16204 Infinite loop in StringUtils.replace(text, repl, with) + FIX
16227 Added class hierachy support to CompareToBuilder.reflectionC
16228 Added class hierachy support to HashCodeBuilder.reflectionHa
16227 Added class hierarchy support to CompareToBuilder.reflectionC
16228 Added class hierarchy support to HashCodeBuilder.reflectionHa
16284 MethodUtils: Removed unused code/unused local vars.
16341 No Javadoc for NestableDelegate
16622 Removed compile warning in FastDateFormat

View File

@ -124,7 +124,7 @@ BUG FIXES IN 3.0
[LANG-11] Depend on JDK 1.5+.
[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-418] Javadoc incorrect for StringUtils.endsWithIgnoreCase.
[LANG-428] StringUtils.isAlpha, isAlphanumeric and isNumeric now return false for ""

View File

@ -294,7 +294,7 @@ public class ServerThread implements Runnable {
high load, if multiple threads access the initializer concurrently, it is
possible that the <code>initialize()</code> method is invoked multiple
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>
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
the newly created worker threads. This is possible through the
<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
one has to start from scratch.
</p>