Merge pull request 166 from qwazer/fixtypo

* BATCH-2017:
  fix typo delgates->delegates
This commit is contained in:
Michael Minella
2013-04-29 12:45:01 -05:00
3 changed files with 5 additions and 5 deletions

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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