From depot-cvs-return-598-apmail-incubator-depot-cvs-archive=incubator.apache.org@incubator.apache.org Sat Jul 31 08:11:46 2004 Return-Path: Delivered-To: apmail-incubator-depot-cvs-archive@www.apache.org Received: (qmail 86143 invoked from network); 31 Jul 2004 08:11:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 31 Jul 2004 08:11:45 -0000 Received: (qmail 78623 invoked by uid 500); 31 Jul 2004 08:11:45 -0000 Delivered-To: apmail-incubator-depot-cvs-archive@incubator.apache.org Received: (qmail 78596 invoked by uid 500); 31 Jul 2004 08:11:45 -0000 Mailing-List: contact depot-cvs-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: depot-dev@incubator.apache.org Delivered-To: mailing list depot-cvs@incubator.apache.org Received: (qmail 78577 invoked by uid 99); 31 Jul 2004 08:11:45 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Sat, 31 Jul 2004 01:11:44 -0700 Received: (qmail 86120 invoked by uid 65534); 31 Jul 2004 08:11:43 -0000 Date: 31 Jul 2004 08:11:43 -0000 Message-ID: <20040731081143.86116.qmail@minotaur.apache.org> From: nickchalko@apache.org To: depot-cvs@incubator.apache.org Subject: svn commit: rev 31027 - incubator/depot/trunk/version/src/java/org/apache/depot/version/specification X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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(); + + } }