continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r232188 - /maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Date Fri, 12 Aug 2005 02:59:21 GMT
Author: brett
Date: Thu Aug 11 19:59:17 2005
New Revision: 232188

URL: http://svn.apache.org/viewcvs?rev=232188&view=rev
Log:
accidentally switched a method sig

Modified:
    maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java

Modified: maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?rev=232188&r1=232187&r2=232188&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
(original)
+++ maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Thu Aug 11 19:59:17 2005
@@ -374,7 +374,7 @@
 
             ContinuumProject project = getContinuumProject( pm, projectId, false );
 
-            ScmResult scmResult = project.getScmResult();
+            ScmResult scmResult = project.getCheckoutResult();
 
             if ( scmResult == null )
             {
@@ -395,12 +395,6 @@
         }
     }
 
-    public ContinuumBuild addBuild( String projectId, ContinuumBuild build )
-        throws ContinuumStoreException
-    {
-        return null;  //To change body of implemented methods use File | Settings | File
Templates.
-    }
-
     public ContinuumSchedule addSchedule( ContinuumSchedule schedule )
         throws ContinuumStoreException
     {
@@ -519,7 +513,7 @@
         }
     }
 
-    public ContinuumBuild addBuild( int projectId, ContinuumBuild build )
+    public ContinuumBuild addBuild( String projectId, ContinuumBuild build )
         throws ContinuumStoreException
     {
         PersistenceManager pm = pmf.getPersistenceManager();
@@ -530,7 +524,7 @@
         {
             tx.begin();
 
-            ContinuumProject project = getContinuumProject( pm, Integer.toString( projectId
), false );
+            ContinuumProject project = getContinuumProject( pm, projectId, false );
 
             build.setProject( project );
 



Mime
View raw message