jakartaee / batch

The Jakarta Batch project produces the Batch Specification and API.
https://projects.eclipse.org/projects/ee4j.batch
Apache License 2.0
13 stars 18 forks source link

Return both empty and null properties as empty ones in several places #169

Open follis opened 4 years ago

follis commented 4 years ago

With JobOperator you pass a Properties object when submitting a job. The distinction here is what if you pass a null? Or what if you new up a Properties object but don't put any Properties in it? What does JobContext.getJobParameters return? If you have no JobProperties and call JobContext.getJobProperties what do you get back? null or empty? Spec should say...and be consistent