commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1089211 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java
Date Tue, 05 Apr 2011 20:36:46 GMT
Author: simonetripodi
Date: Tue Apr  5 20:36:45 2011
New Revision: 1089211

URL: http://svn.apache.org/viewvc?rev=1089211&view=rev
Log:
added missing @return statements

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java?rev=1089211&r1=1089210&r2=1089211&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ClassLoaders.java
Tue Apr  5 20:36:45 2011
@@ -139,6 +139,7 @@ public class ClassLoaders {
      *            a default property file related to this class).
      * @param factory WHO is performing the lookup.
      * @param prune Determines if ancestors are allowed to be loaded or not.
+     * @return The class loaders holder
      */    
     public static ClassLoaders getLibLoaders(Class<?> spi, Class<?> factory,
boolean prune) {
         ClassLoaders loaders = new ClassLoaders();
@@ -173,6 +174,7 @@ public class ClassLoaders {
      *            a default property file related to this class).
      * @param factory WHO is performing the lookup (factory).
      * @param prune Determines if ancestors are allowed to be loaded or not.
+     * @return The class loaders holder
      */
     public static ClassLoaders getAppLoaders(Class<?> spi, Class<?> factory,
boolean prune) {
         ClassLoaders loaders = new ClassLoaders();



Mime
View raw message