continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ri...@apache.org
Subject svn commit: r497958 - in /maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum: core/action/ notification/mail/ scm/queue/ utils/
Date Fri, 19 Jan 2007 21:18:43 GMT
Author: rinku
Date: Fri Jan 19 13:18:42 2007
New Revision: 497958

URL: http://svn.apache.org/viewvc?view=rev&rev=497958
Log:
o  fixed refereces to ints.

Modified:
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectAction.java
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectGroupAction.java
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java
    maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/utils/DefaultWorkingDirectoryService.java

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/ExecuteBuilderContinuumAction.java
Fri Jan 19 13:18:42 2007
@@ -127,7 +127,7 @@
 
         store.addBuildResult( project, buildResult );
 
-        context.put( KEY_BUILD_ID, Integer.toString( buildResult.getId() ) );
+        context.put( KEY_BUILD_ID, Long.toString( buildResult.getId() ) );
 
         buildResult = store.getBuildResult( buildResult.getId() );
 

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectAction.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectAction.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectAction.java
Fri Jan 19 13:18:42 2007
@@ -59,7 +59,7 @@
 
         store.updateProjectGroup( projectGroup );
 
-        context.put( KEY_PROJECT_ID, new Integer( project.getId() ) );
+        context.put( KEY_PROJECT_ID, new Long( project.getId() ) );
 
         // ----------------------------------------------------------------------
         // Set the working directory

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectGroupAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectGroupAction.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectGroupAction.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/core/action/StoreProjectGroupAction.java
Fri Jan 19 13:18:42 2007
@@ -53,6 +53,6 @@
 
         projectGroup = store.addProjectGroup( projectGroup );
 
-        context.put( KEY_PROJECT_GROUP_ID, new Integer( projectGroup.getId() ) );
+        context.put( KEY_PROJECT_GROUP_ID, new Long( projectGroup.getId() ) );
     }
 }

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/notification/mail/MailContinuumNotifier.java
Fri Jan 19 13:18:42 2007
@@ -380,7 +380,7 @@
 
         message.addHeader( "X-Continuum-Build-Host", buildHost );
 
-        message.addHeader( "X-Continuum-Project-Id", Integer.toString( project.getId() )
);
+        message.addHeader( "X-Continuum-Project-Id", Long.toString( project.getId() ) );
 
         message.addHeader( "X-Continuum-Project-Name", project.getName() );
 

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/scm/queue/CheckOutTaskExecutor.java
Fri Jan 19 13:18:42 2007
@@ -63,7 +63,7 @@
     {
         CheckOutTask task = (CheckOutTask) t;
 
-        int projectId = task.getProjectId();
+        long projectId = task.getProjectId();
 
         Project project;
 
@@ -82,7 +82,7 @@
 
         Map context = new HashMap();
 
-        context.put( AbstractContinuumAction.KEY_PROJECT_ID, new Integer( projectId ) );
+        context.put( AbstractContinuumAction.KEY_PROJECT_ID, new Long( projectId ) );
 
         context.put( AbstractContinuumAction.KEY_PROJECT, project );
 

Modified: maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/utils/DefaultWorkingDirectoryService.java
URL: http://svn.apache.org/viewvc/maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/utils/DefaultWorkingDirectoryService.java?view=diff&rev=497958&r1=497957&r2=497958
==============================================================================
--- maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/utils/DefaultWorkingDirectoryService.java
(original)
+++ maven/continuum/branches/id-refactor/continuum-core/src/main/java/org/apache/maven/continuum/utils/DefaultWorkingDirectoryService.java
Fri Jan 19 13:18:42 2007
@@ -57,7 +57,7 @@
         File workDir;
         if ( project.getWorkingDirectory() == null )
         {
-           workDir  = new File( configurationService.getWorkingDirectory(), Integer.toString(
project.getId() ) );
+           workDir  = new File( configurationService.getWorkingDirectory(), Long.toString(
project.getId() ) );
 
            project.setWorkingDirectory( workDir.getAbsolutePath() );
         }



Mime
View raw message