summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJegadeesh Babu <jegabab1@in.ibm.com>2019-02-26 16:52:23 +0530
committerTakamune Cho <takamune.cho@att.com>2019-02-26 20:10:36 +0000
commitfd68eae616494506aca03b267e22fd62f7d5b821 (patch)
tree293d5a86bbefccc6bb27aa515aeda1f3031e8acb
parente40278e7c9d6fd8bf24c03cde4cfcc56ddf08307 (diff)
Replaced print statement with logger
Sonar Fix Issue-ID: APPC-1500 Change-Id: I25e885297e3e3881e8164e2bbd6f608f808ac76b Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
-rw-r--r--appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java
index 537f3a737..85de6bd66 100644
--- a/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java
+++ b/appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java
@@ -7,6 +7,7 @@
* Copyright (C) 2017 Amdocs
* =============================================================================
* Modifications Copyright (C) 2019 Ericsson
+ * Modifications Copyright (C) 2019 IBM
* =============================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -150,7 +151,7 @@ public class ProviderOperations {
try {
url = new URL(newUrl);
} catch (MalformedURLException e) {
- e.printStackTrace();
+ LOG.error("Malformed URL", e);
}
}