I removed extraneous characters from non-code lines and made each code line be as close to 90 characters as possible. I caught a few items I missed in the editing pass (such as missing hyphen and code ticks around some code words.
Other than a couple of image references, I fixed all the lines so that they would be no longer than 90 characters and removed unneeded blank lines.
I did find a few other things (mostly periods missing from list items), and I fixed them.
I made it more readable and consistent and fixed up sentence errors. I added a TODO for a spot that could benefit from an example or two.
polishing on merge
This commit adds a new `ItemProcessor` that delegates to a
`java.util.function.Function`. It also enables users to configure a
`Function` as an `ItemProcessor` via the builders (so they don't need to
worry about the `ItemProcessor` wrapper in the first place).
Resolves BATCH-2641
This is a demo of the functionality and it located in the domain.adoc file.
added code to handl PDF ifdef
JavaScript added to support slider control
If view in local file system use safari. (Cookies not supported on local filesysem on chrome)
Remaining bug... if user selects xml and refreshes the examples still show XML but slider goes back to JAVA.
Could use a new tool suite. But this is based on the Spring.io toggle.
Implemented java vs xml toggle in reference documentation
This commit ports the javascript widget used in Sagan for toggling
between Maven and Gradle on each project page and uses it to toggle
between java based config and XML based config. The preference the user
selects is cookied so that it should stick between pages in the multiple
page layout as well as for future visits to the documentation.
The only page that has implemented the toggle in this commit is the
domain.adoc page. The spring-batch-intro.adoc has the toggle reference
in it, but it's only there to verify multiple includes are working.
Polishing
MultiResourceItemWriter delegating to a StaxEventItemWriter doesn't restart properly.
* Changed the open() method in MultiResourceItemWriter by setting the flag 'opened' to true.
Updated PR with code review comments.
Stack is a pre Java 1.2 class that is slower than ArrayList as it
incurs additional synchronization overhead.
- replace Stack with ArrayList where it's not public API
Issue: BATCH-2408