continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r489991 - /maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java
Date Sun, 24 Dec 2006 06:38:26 GMT
Author: rinku
Date: Sat Dec 23 22:38:25 2006
New Revision: 489991

URL: http://svn.apache.org/viewvc?view=rev&rev=489991
Log:
o  added constructors.

Modified:
    maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java

Modified: maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java?view=diff&rev=489991&r1=489990&r2=489991
==============================================================================
--- maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java
(original)
+++ maven/continuum/branches/key-based-refactor/continuum-api/src/main/java/org/apache/maven/continuum/key/GroupProjectKey.java
Sat Dec 23 22:38:25 2006
@@ -39,6 +39,21 @@
      */
     private String projectKey;
 
+    public GroupProjectKey()
+    {
+        // do nothing.
+    }
+
+    /**
+     * @param groupKey {@link ProjectGroup}'s key.
+     * @param projectKey {@link Project}'s key.
+     */
+    public GroupProjectKey( String groupKey, String projectKey )
+    {
+        this.groupKey = groupKey;
+        this.projectKey = projectKey;
+    }
+
     /**
      * Returns the unique {@link ProjectGroup} key.
      * @return unique {@link ProjectGroup} key.



Mime
View raw message