You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2013/10/11 23:27:50 UTC
svn commit: r1531426 -
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
Author: britter
Date: Fri Oct 11 21:27:50 2013
New Revision: 1531426
URL: http://svn.apache.org/r1531426
Log:
Add missing JavaDoc
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java?rev=1531426&r1=1531425&r2=1531426&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ClassUtils.java Fri Oct 11 21:27:50 2013
@@ -1140,8 +1140,8 @@ public class ClassUtils {
* Get an {@link Iterable} that can iterate over a class hierarchy in ascending (subclass to superclass) order,
* excluding interfaces.
*
- * @param type
- * @return Iterable
+ * @param type the type to get the class hierarchy from
+ * @return Iterable an Iterable over the class hierarchy of the given class
*/
public static Iterable<Class<?>> hierarchy(final Class<?> type) {
return hierarchy(type, Interfaces.EXCLUDE);
@@ -1150,9 +1150,9 @@ public class ClassUtils {
/**
* Get an {@link Iterable} that can iterate over a class hierarchy in ascending (subclass to superclass) order.
*
- * @param type
- * @param interfacesBehavior
- * @return Iterable
+ * @param type the type to get the class hierarchy from
+ * @param interfacesBehavior switch indicating whether to include or exclude interfaces
+ * @return Iterable an Iterable over the class hierarchy of the given class
*/
public static Iterable<Class<?>> hierarchy(final Class<?> type, Interfaces interfacesBehavior) {
final Iterable<Class<?>> classes = new Iterable<Class<?>>() {