From 9b8a6d1d1aeec6651730520fd8174f19788e8cf8 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Tue, 4 Sep 2018 21:45:13 +0200 Subject: [PATCH] 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 --- .../org/springframework/batch/item/xml/StaxEventItemReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxEventItemReader.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxEventItemReader.java index 27df9f19e..52527b7e4 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxEventItemReader.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/xml/StaxEventItemReader.java @@ -83,7 +83,7 @@ ResourceAwareItemReaderItemStream, 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;