aboutsummaryrefslogtreecommitdiffstats
path: root/bpmn/MSOURN-plugin/src/main/java
diff options
context:
space:
mode:
authorSeshu-Kumar-M <seshu.kumar.m@huawei.com>2017-09-06 19:47:14 +0800
committerSeshu-Kumar-M <seshu.kumar.m@huawei.com>2017-09-07 10:17:06 +0530
commitdfa2e48a4e87198eb323c223c6d6d18a1fa2464e (patch)
treeb7dd50c62d30e373ab6216963655816b03d1df7d /bpmn/MSOURN-plugin/src/main/java
parentc8961a6aa9a7315b3fb19edd9ce986e87d910a44 (diff)
sonar blocker issue fixes
Issue ID: SO-98 Change-Id: Ida8eba238c3c0ca867cc40a58d00ddcd74417921 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
Diffstat (limited to 'bpmn/MSOURN-plugin/src/main/java')
-rw-r--r--bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java
index 5ef77eec40..1a4c16dc7a 100644
--- a/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java
+++ b/bpmn/MSOURN-plugin/src/main/java/org/openecomp/camunda/bpmn/plugin/urnmap/resources/URNResource.java
@@ -82,21 +82,21 @@ public class URNResource extends AbstractCockpitPluginResource{
} catch (Exception e)
{
- msoLogger.debug("Exception in getUrnDataMap " + e);
+ msoLogger.debug("Exception in getUrnDataMap ", e);
} finally {
if(psData != null){
try {
psData.close();
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the PreparedStatement: " + e);
+ msoLogger.debug("Exception while closing the PreparedStatement: ", e);
}
}
if(conn != null){
try {
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the connection: " + e);
+ msoLogger.debug("Exception while closing the connection: ", e);
}
}
}
@@ -143,7 +143,7 @@ public class URNResource extends AbstractCockpitPluginResource{
} catch (Exception e)
{
- msoLogger.debug("Exception in DBConnection " + e);
+ msoLogger.debug("Exception in DBConnection ", e);
}
return conn;
@@ -183,21 +183,21 @@ public class URNResource extends AbstractCockpitPluginResource{
} catch (Exception e)
{
- msoLogger.debug("Exception in insertNewRow " + e);
+ msoLogger.debug("Exception in insertNewRow ", e);
}finally {
if(psData != null){
try {
psData.close();
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the PreparedStatement: " + e);
+ msoLogger.debug("Exception while closing the PreparedStatement: ", e);
}
}
if(conn != null){
try {
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the connection: " + e);
+ msoLogger.debug("Exception while closing the connection: ", e);
}
}
}
@@ -219,21 +219,21 @@ public class URNResource extends AbstractCockpitPluginResource{
} catch (Exception e)
{
- msoLogger.debug("Exception in PersistData " + e);
+ msoLogger.debug("Exception in PersistData ", e);
}finally {
if(psData != null){
try {
psData.close();
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the PreparedStatement: " + e);
+ msoLogger.debug("Exception while closing the PreparedStatement: ", e);
}
}
if(conn != null){
try {
conn.close();
} catch (SQLException e) {
- msoLogger.debug("Exception while closing the connection: " + e);
+ msoLogger.debug("Exception while closing the connection: ", e);
}
}
}