diff --git a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
index a81f7498a..4d77e6f9f 100644
--- a/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
+++ b/src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
@@ -501,7 +501,7 @@ public class TypeUtils {
* (indirectly) implemented more than once (e.g. where toClass
* specifies the interface {@link java.lang.Iterable Iterable} and
* type
specifies a parameterized type that implements both
- * {@link java.util.Set Set} and {@link java.lang.Collection Collection}),
+ * {@link java.util.Set Set} and {@link java.util.Collection Collection}),
* this method will look at the inheritance hierarchy of only one of the
* implementations/subclasses; the first interface encountered that isn't a
* subinterface to one of the others in the type
to
@@ -678,7 +678,7 @@ public class TypeUtils {
* parameter of {@link java.util.SortedSet}, which in turn sets the
* parameter of {@link Set}, which in turn sets the parameter of
* {@link java.util.Collection}, which in turn sets the parameter of
- * {@link java.util.Iterable}. Since TreeSet
's parameter maps
+ * {@link java.lang.Iterable}. Since TreeSet
's parameter maps
* (indirectly) to Iterable
's parameter, it will be able to
* determine that based on the super type Iterable extends
* Map
, the parameter of
@@ -803,7 +803,7 @@ public class TypeUtils {
// check if this interface is further up the inheritance chain
// than the previously found match
if (isAssignable(midClass, superClass)
- && isAssignable((Type) genericInterface, (Type) midClass)) {
+ && isAssignable(genericInterface, (Type) midClass)) {
genericInterface = midType;
}
}
@@ -887,7 +887,7 @@ public class TypeUtils {
*
Returns an array containing the sole type of {@link Object} if
* {@link TypeVariable#getBounds()} returns an empty array. Otherwise, it
* returns the result of TypeVariable.getBounds()
passed into
- * {@link normalizeUpperBounds}.
Returns an array containing the sole value of {@link Object} if
* {@link WildcardType#getUpperBounds()} returns an empty array. Otherwise,
* it returns the result of WildcardType.getUpperBounds()
- * passed into {@link normalizeUpperBounds}.
WildcardType.getLowerBounds()
.
*
- * @param type the subject wildcard type
+ * @param wildcardType the subject wildcard type
* @return a non-empty array containing the lower bounds of the wildcard
* type.
*/