Fix not-null assertion
This commit is contained in:
committed by
Christian Tzolov
parent
0a42bf01f3
commit
0ebf4abc2c
@@ -86,7 +86,7 @@ public class PdfDocumentReaderConfig {
|
||||
*/
|
||||
public PdfDocumentReaderConfig.Builder withPageExtractedTextFormatter(
|
||||
ExtractedTextFormatter pageExtractedTextFormatter) {
|
||||
Assert.notNull(pagesPerDocument >= 0, "PageExtractedTextFormatter must not be null.");
|
||||
Assert.notNull(pageExtractedTextFormatter, "PageExtractedTextFormatter must not be null.");
|
||||
this.pageExtractedTextFormatter = pageExtractedTextFormatter;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user