Replaced print statement with logger 73/79173/4
authorJegadeesh Babu <jegabab1@in.ibm.com>
Tue, 26 Feb 2019 11:22:23 +0000 (16:52 +0530)
committerTakamune Cho <takamune.cho@att.com>
Tue, 26 Feb 2019 20:10:36 +0000 (20:10 +0000)
Sonar Fix

Issue-ID: APPC-1500
Change-Id: I25e885297e3e3881e8164e2bbd6f608f808ac76b
Signed-off-by: Jegadeesh Babu <jegabab1@in.ibm.com>
appc-event-listener/appc-event-listener-bundle/src/main/java/org/onap/appc/listener/demo/impl/ProviderOperations.java

index 537f3a7..85de6bd 100644 (file)
@@ -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);
         }
     }