Incorrect Type of getter in Documentation for JobParameters GetDouble #4526
Labels
for: backport-to-5.0.x
Issues that will be back-ported to the 5.0.x line
for: backport-to-5.1.x
Issues that will be back-ported to the 5.1.x line
in: documentation
type: bug
Milestone
Hi I was looking through the Spring Batch API for the Class JobParameters. In the documentation I noticed there was a slight error in the description for getDouble(String key) in which the Description states.
Typesafe getter for the Long represented by the provided key.
I looked into it a bit and saw that it has to do with a comment in the class JobParameters.
https://github.com/spring-projects/spring-batch/blob/main/spring-batch-core/src/main/java/org/springframework/batch/core/JobParameters.java
In which the following comment is made.
The getDouble(String key, @nullable Double defaultValue) seems to have it set to double which looking at the code I think is because of a spelling error.
I'm not sure if this is a big priority for you guys but I thought this could help.
The text was updated successfully, but these errors were encountered: