BATCH-1695: fix typos

This commit is contained in:
Dave Syer
2011-02-12 08:26:58 +00:00
parent fb9527c160
commit bea59a78a8
2 changed files with 2 additions and 2 deletions

View File

@@ -583,7 +583,7 @@ public Trade read() throws Exception {
<beans:property name="keys" value="someKey"/>
&lt;/beans:bean&gt;</emphasis></programlisting>
<para>Finally, to the saved values must be retrieved from the
<para>Finally, the saved values must be retrieved from the
<classname>Job</classname> <classname>ExeuctionContext</classname>:</para>
<programlisting>public class RetrievingItemWriter implements ItemWriter&lt;Object&gt; {

View File

@@ -231,7 +231,7 @@ Foo result = template.execute(new RetryCallback&lt;Foo&gt;() {
// Retry on all exceptions (this is the default)
policy.setRetryableExceptions(new Class[] {Exception.class});
// ... but never retry IllegalStateException
policy.setFatalExceptions(new Class[] {ILlegalStateException.class});
policy.setFatalExceptions(new Class[] {IllegalStateException.class});
// Use the policy...
RetryTemplate template = new RetryTemplate();