diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java index 35958286d1e..615838def14 100644 --- a/src/main/java/org/apache/commons/lang3/ClassUtils.java +++ b/src/main/java/org/apache/commons/lang3/ClassUtils.java @@ -41,7 +41,7 @@ *
* *- * The notion of a {@code canonical name} includes the human readable name for the type, for example {@code int[]}. The + * The notion of a {@code canonical name} includes the human-readable name for the type, for example {@code int[]}. The * non-canonical method variants work with the JVM names, such as {@code [I}. *
* @@ -474,7 +474,7 @@ public static String getCanonicalName(final Object object, final String valueIfN * * * - * @param className the name of class. + * @param name the name of class. * @return canonical form of class name. */ private static String getCanonicalName(final String name) { @@ -767,7 +767,7 @@ static Class> getPrimitiveClass(final String className) { /** * Gets the desired Method much like {@code Class.getMethod}, however it ensures that the returned Method is from a * public class or interface and not from an anonymous inner class. This means that the Method is invokable and doesn't - * fall foul of Java bug 4071957). + * fall foul of Java bug (4071957). * *
* {@code Set set = Collections.unmodifiableSet(...);
@@ -984,7 +984,7 @@ public static String getShortClassName(final Object object, final String valueIf
*
*
*
- * The difference is is significant only in case of classes that are inner classes of some other classes. In this case
+ * The difference is significant only in case of classes that are inner classes of some other classes. In this case
* the separator between the outer and inner class (possibly on multiple hierarchy level) has to be {@code $} (dollar
* sign) and not {@code .} (dot), as it is returned by {@code Class.getName()}
*
@@ -997,7 +997,7 @@ public static String getShortClassName(final Object object, final String valueIf
*
* Note that this method differs from {@link #getSimpleName(Class)} in that this will return, for example
* {@code "Map.Entry"} whilst the {@link Class} variant will simply return {@code "Entry"}. In this example
- * the argument {@code className} is the string {@code java.util.Map$Entry} (note the {@code $} sign.
+ * the argument {@code className} is the string {@code java.util.Map$Entry} (note the {@code $} sign).
*
*
* @param className the className to get the short name for. It has to be formatted as returned by