fix typo delgates->delegates
This commit is contained in:
@@ -53,8 +53,8 @@ public class CompositeItemProcessor<I, O> implements ItemProcessor<I, O>, Initia
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
Assert.notNull(delegates, "The 'delgates' may not be null");
|
||||
Assert.notEmpty(delegates, "The 'delgates' may not be empty");
|
||||
Assert.notNull(delegates, "The 'delegates' may not be null");
|
||||
Assert.notEmpty(delegates, "The 'delegates' may not be empty");
|
||||
}
|
||||
|
||||
public void setDelegates(List<ItemProcessor<Object, Object>> delegates) {
|
||||
|
||||
@@ -54,8 +54,8 @@ public class CompositeItemWriter<T> implements ItemStreamWriter<T>, Initializing
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
Assert.notNull(delegates, "The 'delgates' may not be null");
|
||||
Assert.notEmpty(delegates, "The 'delgates' may not be empty");
|
||||
Assert.notNull(delegates, "The 'delegates' may not be null");
|
||||
Assert.notEmpty(delegates, "The 'delegates' may not be empty");
|
||||
}
|
||||
|
||||
public void setDelegates(List<ItemWriter<? super T>> delegates) {
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
}</programlisting>
|
||||
|
||||
<para>The class above contains another <classname>ItemWriter</classname>
|
||||
to which it delgates after having provided some business logic. This
|
||||
to which it delegates after having provided some business logic. This
|
||||
pattern could easily be used for an <classname>ItemReader</classname> as
|
||||
well, perhaps to obtain more reference data based upon the input that was
|
||||
provided by the main <classname>ItemReader</classname>. It is also useful
|
||||
|
||||
Reference in New Issue
Block a user