diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2017-09-12 10:26:45 +0530 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2017-09-12 10:26:45 +0530 |
commit | 92ffbb4a56b1f84ed130b04ca3a9954ce610a02a (patch) | |
tree | ef7d115f9f5e58bd1aa4bbc051dbca8cbe609720 /adapters/mso-vfc-adapter | |
parent | 3fa63b90661cea6d0563038f9f31f17a58a6f3c8 (diff) |
Fix for SONAR critical issues
Issue-Id : SO-117
Change-Id: I57e30d9a8a2b251a57466d92c49f41e2a5943b22
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'adapters/mso-vfc-adapter')
-rw-r--r-- | adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java index 19cbca80e3..dfedce8531 100644 --- a/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java +++ b/adapters/mso-vfc-adapter/src/main/java/org/openecomp/mso/adapters/vfc/util/RestfulUtil.java @@ -3,6 +3,7 @@ * ONAP - SO * ================================================================================ * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. + * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -160,7 +161,7 @@ public class RestfulUtil { try { EntityUtils.consume(httpResponse.getEntity()); } catch(Exception e) { - // Ignore + LOGGER.debug("Exception :",e); } } @@ -168,7 +169,7 @@ public class RestfulUtil { try { method.reset(); } catch(Exception e) { - // Ignore + LOGGER.debug("Exception :",e); } } } |