incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: rev 22914 - incubator/depot/trunk/update/src/java/org/apache/depot/update/repository
Date Wed, 14 Jul 2004 19:47:09 GMT
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 =

Mime
View raw message