You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/10/15 22:57:18 UTC
cvs commit: jakarta-commons/lang/src/java/org/apache/commons/lang ClassUtils.java
scolebourne 2004/10/15 13:57:18
Modified: lang/src/java/org/apache/commons/lang ClassUtils.java
Log:
Remove commented out code that never went anywhere
Revision Changes Path
1.32 +1 -54 jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java
Index: ClassUtils.java
===================================================================
RCS file: /home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/ClassUtils.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ClassUtils.java 8 Oct 2004 00:10:59 -0000 1.31
+++ ClassUtils.java 15 Oct 2004 20:57:18 -0000 1.32
@@ -246,59 +246,6 @@
return list;
}
-// /**
-// * <p>Gets a <code>List</code> of subclasses of the specified class.</p>
-// *
-// * <p>This method searches the classpath to find all the subclasses
-// * of a particular class available. No classes are loaded, the
-// * returned list contains class names, not classes.</p>
-// *
-// * @param cls the class to find subclasses for
-// * @return the <code>List</code> of subclass String class names
-// * @throws IllegalArgumentException if the class is <code>null</code>
-// */
-// public static List getAllSubclassNames(Class cls) {
-// if (cls == null) {
-// throw new IllegalArgumentException("The class must not be null");
-// }
-// // TODO Use JavaWorld tip for searching the classpath
-// return null;
-// }
-
-// /**
-// * <p>Gets a <code>List</code> of subclasses of the specified class.</p>
-// *
-// * <p>This method searches the classpath to find all the subclasses
-// * of a particular class available.</p>
-// *
-// * @param cls the class to find subclasses for
-// * @return the <code>List</code> of subclasses
-// * @throws IllegalArgumentException if the class is <code>null</code>
-// */
-// public static List getAllSubclasses(Class cls) {
-// List names = getAllSubclassNames(cls);
-// return convertClassNamesToClasses(names);
-// }
-
-// /**
-// * <p>Gets a <code>List</code> of implementations of the specified interface.</p>
-// *
-// * <p>This method searches the classpath to find all the implementations
-// * of a particular interface available. No classes are loaded, the
-// * returned list contains class names, not classes.</p>
-// *
-// * @param cls the class to find sub classes for
-// * @return the <code>List</code> of implementation String class names
-// * @throws IllegalArgumentException if the class is <code>null</code>
-// */
-// public static List getAllImplementationClassNames(Class cls) {
-// if (cls == null) {
-// throw new IllegalArgumentException("The class must not be null");
-// }
-// // TODO Use JavaWorld tip for searching the classpath
-// return null;
-// }
-
// Convert list
// ----------------------------------------------------------------------
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org