Skip to content

Commit c075ffc

Browse files
committed
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
1 parent 234a2f0 commit c075ffc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxEventItemReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public StaxEventItemReader() {
8282
/**
8383
* In strict mode the reader will throw an exception on
8484
* {@link #open(org.springframework.batch.item.ExecutionContext)} if the input resource does not exist.
85-
* @param strict false by default
85+
* @param strict true by default
8686
*/
8787
public void setStrict(boolean strict) {
8888
this.strict = strict;

0 commit comments

Comments
 (0)