You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by aj...@apache.org on 2004/07/14 19:47:09 UTC

svn commit: rev 22914 - incubator/depot/trunk/update/src/java/org/apache/depot/update/repository

Author: ajack
Date: Wed Jul 14 12:47:08 2004
New Revision: 22914

Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/AbstractHierarchicalRepository.java
Log:
listArtifacts -> listInstances.



Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/AbstractHierarchicalRepository.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/AbstractHierarchicalRepository.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/repository/AbstractHierarchicalRepository.java	Wed Jul 14 12:47:08 2004
@@ -116,7 +116,7 @@
 	}
 
 	/**
-	 * this method should not be called right now, it provides a dangerous recursion
+	 * Get the separate artifacts housed within this group.
 	 * 
 	 * @deprecated this method is useless
 	 */
@@ -128,8 +128,9 @@
 
 		List results = null;
 		
-// :TODO: useless recursion - calls the same method with the input parameters
-		List artifacts = listArtifacts(context, group, selector);
+		// Get a lsit of all instances, and then filter for
+		// uniquenes (to get Artifacts)
+		List artifacts = listInstances(context, group, selector);
 		
 		if (!artifacts.isEmpty()) {
 			List unique =