Bugzilla – Bug 4791
SPEC - Should we refine the StepExecution<?> parameter reference ?
Last modified: 2013-03-20 16:21:11 UTC
Should this signature:
public List<StepExecution<?>> getStepExecutions(long jobExecutionId) throws NoSuchJobExecutionException, JobSecurityException;
public List<StepExecution<? extends Serializable>> getStepExecutions
What is the type parameter on this for? Why would a StepExecution have a type?
I think we should redefine the user persistent data to be Map<String,? extends Serializable>, which will eliminate the need for the parameterized type in StepExecution.
Please see my comment on Bug 4776 about switching to a Map. I don't see that this is so valuable to incur this extra work..
The parameterized types are not helpful. They're coming off. In PFD v1.7.