Fix javadoc of StaxEventItemReader#setStrict in regards to default value

The Javadoc of StaxEventItemReader#setStrict says that the default value
of the parameter is false while it is true.

Resolves BATCH-2749
This commit is contained in:
Mahmoud Ben Hassine
2018-09-04 21:45:13 +02:00
parent d5981bfa0b
commit 9b8a6d1d1a

View File

@@ -83,7 +83,7 @@ ResourceAwareItemReaderItemStream<T>, InitializingBean {
/**
* In strict mode the reader will throw an exception on
* {@link #open(org.springframework.batch.item.ExecutionContext)} if the input resource does not exist.
* @param strict false by default
* @param strict true by default
*/
public void setStrict(boolean strict) {
this.strict = strict;