BATCH-2519: Fix TYPO

JIRA: https://jira.spring.io/browse/BATCH-2519

    * TYPO  `ItemWriteListner` correction
    * TYPO  `Posion` correction
This commit is contained in:
Arthur Portas
2017-12-26 17:19:39 +00:00
parent 5d883a3e61
commit 2dd8f60cbf
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@
public void write(T item) throws Exception {
if (isPoisonPill(item)) {
throw new PoisonPillException("Posion pill detected: " + item);
throw new PoisonPillException("Poison pill detected: " + item);
}
}

View File

@@ -916,7 +916,7 @@ itemWriter.write(items);</programlisting>
<para><classname>ItemReadListener</classname>,
<classname>ItemProcessListener</classname>, and
<classname>ItemWriteListner</classname> all provide mechanisms for
<classname>ItemWriteListener</classname> all provide mechanisms for
being notified of errors, but none will inform you that a record has
actually been skipped. <methodname>onWriteError</methodname>, for
example, will be called even if an item is retried and successful. For