Fix various typos

Fix a variety of typos throughout the project, primarily in
comments (javadoc or otherwise) but also in a handful of log messages
and a couple exception messages.

ISSUE: SPR-11123
This commit is contained in:
Eric Dahl
2013-11-23 20:43:38 -06:00
committed by Phillip Webb
parent 4e82416ba9
commit e9f78f6043
37 changed files with 55 additions and 55 deletions

View File

@@ -585,7 +585,7 @@ final class Frame {
}
// pushes the type on the output stack
outputStack[outputStackTop++] = type;
// updates the maximun height reached by the output stack, if needed
// updates the maximum height reached by the output stack, if needed
int top = owner.inputStackTop + outputStackTop;
if (top > owner.outputStackMax) {
owner.outputStackMax = top;

View File

@@ -276,7 +276,7 @@ public class AutoPopulatingList<E> implements List<E>, Serializable {
private final Class<? extends E> elementClass;
public ReflectiveElementFactory(Class<? extends E> elementClass) {
Assert.notNull(elementClass, "Element clas must not be null");
Assert.notNull(elementClass, "Element class must not be null");
Assert.isTrue(!elementClass.isInterface(), "Element class must not be an interface type");
Assert.isTrue(!Modifier.isAbstract(elementClass.getModifiers()), "Element class cannot be an abstract class");
this.elementClass = elementClass;

View File

@@ -68,7 +68,7 @@ public class CompositeIterator<E> implements Iterator<E> {
return iterator.next();
}
}
throw new NoSuchElementException("Exhaused all iterators");
throw new NoSuchElementException("Exhausted all iterators");
}
@Override

View File

@@ -208,7 +208,7 @@ public abstract class StringUtils {
/**
* Trim <i>all</i> whitespace from the given String:
* leading, trailing, and inbetween characters.
* leading, trailing, and in between characters.
* @param str the String to check
* @return the trimmed String
* @see java.lang.Character#isWhitespace
@@ -265,7 +265,7 @@ public abstract class StringUtils {
}
/**
* Trim all occurences of the supplied leading character from the given String.
* Trim all occurrences of the supplied leading character from the given String.
* @param str the String to check
* @param leadingCharacter the leading character to be trimmed
* @return the trimmed String
@@ -282,7 +282,7 @@ public abstract class StringUtils {
}
/**
* Trim all occurences of the supplied trailing character from the given String.
* Trim all occurrences of the supplied trailing character from the given String.
* @param str the String to check
* @param trailingCharacter the trailing character to be trimmed
* @return the trimmed String
@@ -381,7 +381,7 @@ public abstract class StringUtils {
}
/**
* Replace all occurences of a substring within a string with
* Replace all occurrences of a substring within a string with
* another string.
* @param inString String to examine
* @param oldPattern String to replace