diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-08-31 18:21:55 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2011-08-31 18:21:55 +0000 |
commit | 58ee12a9fe53bc528c4c1e39de22a5184687a260 (patch) | |
tree | 68a854a477540d4c5ba9ac947146d42ad4624006 /smccSTAL/src/main/java/at/gv/egiz | |
parent | 47fbe37596e3e4029015f50d8010f11f3b8d8c7a (diff) | |
download | mocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.tar.gz mocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.tar.bz2 mocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.zip |
Cosmetics...
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@966 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTAL/src/main/java/at/gv/egiz')
-rw-r--r-- | smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java | 4 |
1 files 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); } } |