incubator-depot-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nickcha...@apache.org
Subject svn commit: rev 31027 - incubator/depot/trunk/version/src/java/org/apache/depot/version/specification
Date Sat, 31 Jul 2004 08:11:43 GMT
Author: nickchalko
Date: Sat Jul 31 01:11:42 2004
New Revision: 31027

Modified:
   incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/VersionSpecificationFactory.java
Log:
HashMap --> Map

Modified: incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/VersionSpecificationFactory.java
==============================================================================
--- incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/VersionSpecificationFactory.java
(original)
+++ incubator/depot/trunk/version/src/java/org/apache/depot/version/specification/VersionSpecificationFactory.java
Sat Jul 31 01:11:42 2004
@@ -18,6 +18,7 @@
 
 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.Map;
 
 import org.apache.depot.version.VersionException;
 import org.apache.depot.version.impl.VersionImplementationConstants;
@@ -29,7 +30,7 @@
  */
 public class VersionSpecificationFactory {
 
-    private static HashMap l_registry = null;
+    private static Map l_registry = null;
 
     static {
 
@@ -135,4 +136,13 @@
     public static Iterator getRegisteredSpecifications() {
         return l_registry.entrySet().iterator();
     }
+
+	/**
+	 * @param specId
+	 */
+	public VersionSpecification  getSpecification(String specId) {
+		// TODO  Actually check id.
+		return new ApacheVersionSpecification();
+		
+	}
 }

Mime
View raw message