Skip to content

Commit

Permalink
o fixed refereces to ints.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Thakur committed Jan 19, 2007
1 parent 89e1396 commit 2ba2288
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public void execute( Map context )

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() );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void execute( Map context )

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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public void execute( Map context )

projectGroup = store.addProjectGroup( projectGroup );

context.put( KEY_PROJECT_GROUP_ID, new Integer( projectGroup.getId() ) );
context.put( KEY_PROJECT_GROUP_ID, new Long( projectGroup.getId() ) );
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ private void sendMessage( Project project, Set recipients, String subject, Strin

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() );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void executeTask( Task t )
{
CheckOutTask task = (CheckOutTask) t;

int projectId = task.getProjectId();
long projectId = task.getProjectId();

Project project;

Expand All @@ -82,7 +82,7 @@ public void executeTask( Task t )

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 );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public File getWorkingDirectory( Project project )
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() );
}
Expand Down

0 comments on commit 2ba2288

Please sign in to comment.