OPEN - issue BATCH-90: StepExecution and StepExecutionContext are parallel domains, and StepExecution is by comparison anaemic

http://opensource.atlassian.com/projects/spring/browse/BATCH-90

Remove setter for job id in JobExecution
This commit is contained in:
dsyer
2007-09-30 12:02:14 +00:00
parent 3dced4edc8
commit f1858a2406
2 changed files with 1 additions and 5 deletions

View File

@@ -78,10 +78,6 @@ public class JobExecution extends Entity {
return jobId;
}
public void setJobId(Long jobId) {
this.jobId = jobId;
}
/**
* @param exitCode
*/

View File

@@ -66,7 +66,7 @@ public class JobExecutionTests extends TestCase {
*/
public void testGetJobId() {
assertEquals(11, execution.getJobId().longValue());
execution.setJobId(new Long(23));
execution = new JobExecution(new Long(23));
assertEquals(23, execution.getJobId().longValue());
}