From 58ee12a9fe53bc528c4c1e39de22a5184687a260 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 31 Aug 2011 18:21:55 +0000 Subject: Cosmetics... git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@966 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java index 1f701966..54a30035 100644 --- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java +++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java @@ -74,7 +74,7 @@ public abstract class AbstractSMCCSTAL implements STAL { private STALResponse getResponse(STALRequest request) throws InterruptedException { int retryCounter = 0; while (retryCounter < maxRetries) { - log.info("Retry #{} of {}.", retryCounter, maxRetries); + log.info("Retry #{} of {}.", retryCounter+1, maxRetries); SMCCSTALRequestHandler handler = null; handler = handlerMap.get(request.getClass().getSimpleName()); if (handler != null) { @@ -154,7 +154,7 @@ public abstract class AbstractSMCCSTAL implements STAL { } } catch (InterruptedException ex) { log.error("Interrupted during request handling."); - throw new RuntimeException("nterrupted during request handling", ex); + throw new RuntimeException("Interrupted during request handling", ex); } } -- cgit v1.2.3