From 1176fa912d8f49e101aece458c8cc0de103241f3 Mon Sep 17 00:00:00 2001 From: dsyer Date: Wed, 21 Nov 2007 14:18:13 +0000 Subject: [PATCH] Correct Javadocs after BATCH-201 was fixed. --- .../handler/SimpleLimitExceptionHandler.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/infrastructure/src/main/java/org/springframework/batch/repeat/exception/handler/SimpleLimitExceptionHandler.java b/infrastructure/src/main/java/org/springframework/batch/repeat/exception/handler/SimpleLimitExceptionHandler.java index 4c165b9f5..0868c4e34 100644 --- a/infrastructure/src/main/java/org/springframework/batch/repeat/exception/handler/SimpleLimitExceptionHandler.java +++ b/infrastructure/src/main/java/org/springframework/batch/repeat/exception/handler/SimpleLimitExceptionHandler.java @@ -24,9 +24,8 @@ import org.springframework.batch.repeat.RepeatContext; /** * Simple implementation of exception handler which looks for one exception - * type. If it is found in the Collection of throwables then a counter is - * incremented and the a limit is checked to determine if it has been exceeded - * and the Throwable should be re-thrown. + * type. If it is found then a counter is incremented and the a limit is checked + * to determine if it has been exceeded and the Throwable should be re-thrown. * * @author Dave Syer */ @@ -48,8 +47,9 @@ public class SimpleLimitExceptionHandler implements ExceptionHandler { * Set this flag to true if you want to count exceptions for the whole * (outer) loop in a typical container. * - * @param useParent true if the parent context should be used to store the - * counters. + * @param useParent + * true if the parent context should be used to store the + * counters. */ public void setUseParent(boolean useParent) { delegate.setUseParent(useParent); @@ -78,9 +78,10 @@ public class SimpleLimitExceptionHandler implements ExceptionHandler { * @see #setLimit(int) * * @see org.springframework.batch.repeat.exception.handler.ExceptionHandler#handleException(org.springframework.batch.repeat.RepeatContext, - * Throwable) + * Throwable) */ - public void handleException(RepeatContext context, Throwable throwable) throws RuntimeException { + public void handleException(RepeatContext context, Throwable throwable) + throws RuntimeException { delegate.handleException(context, throwable); }