diff options
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20/src/main')
-rw-r--r-- | eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java index 96fd34e8..a0b82793 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/main/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/SL20HttpBindingUtils.java @@ -93,7 +93,7 @@ public class SL20HttpBindingUtils { try { //extract JSON body from defined http error-codes bodyMsg = EntityUtils.toString(response.getEntity()); - log.info("SL20 response with http-code: {0} and errorMsg: {1}", httpStatusCode, bodyMsg); + log.info("SL20 response with http-code: {} and errorMsg: {}", httpStatusCode, bodyMsg); Sl20ResponseHolder holder = new Sl20ResponseHolder( JsonMapper.getMapper().readTree(bodyMsg), response.getStatusLine()); return holder; @@ -101,7 +101,7 @@ public class SL20HttpBindingUtils { } catch (final IOException | ParseException e) { log.warn("SL20 response contains no )valid JSON", e); throw new SlCommandoParserException(MessageFormat.format( - "SL20 response with http-code: {0} with body: {1} and generic response-processing error: {2}", + "SL20 response with http-code: {} with body: {} and generic response-processing error: {}", httpStatusCode, bodyMsg, e.getMessage())); } @@ -109,7 +109,7 @@ public class SL20HttpBindingUtils { } else { //all other HTTP StatusCodes throw new SlCommandoParserException(MessageFormat.format( - "SL20 response with http-code: {0} and errorMsg: {1}", + "SL20 response with http-code: {} and errorMsg: {}", httpStatusCode, EntityUtils.toString(response.getEntity()))); } |