Remove convenience accessor for job.getIdentifier()

This commit is contained in:
dsyer
2007-11-02 16:03:38 +00:00
parent f66d163275
commit 3e72e7b565
5 changed files with 6 additions and 16 deletions

View File

@@ -138,16 +138,6 @@ public class JobExecution extends Entity {
}
}
/**
* Accessor for the runtime information of this execution.
*
* @return the {@link JobRuntimeInformation} that was used to start this job
* execution.
*/
public JobIdentifier getJobIdentifier() {
return job.getIdentifier();
}
/**
* Accessor for the potentially multiple step contexts that are in progress.
* In a single-threaded, sequential execution there would normally be only

View File

@@ -100,7 +100,7 @@ public class JobExecutionTests extends TestCase {
}
public void testContextContainsInfo() throws Exception {
assertEquals("foo", context.getJobIdentifier().getName());
assertEquals("foo", context.getJob().getIdentifier().getName());
}
public void testNullContexts() throws Exception {