summaryrefslogtreecommitdiffstats
path: root/appc-config/appc-config-adaptor/provider/src/main
diff options
context:
space:
mode:
authorshashikanth <shashikanth.vh@huawei.com>2017-09-26 14:43:01 +0530
committerPatrick Brady <pb071s@att.com>2017-09-28 11:45:47 -0700
commit6b24291bece2ecb437816c1f5b94b7a0598986bc (patch)
tree782663dc34d3a3e4085ca7f0266027e940c92460 /appc-config/appc-config-adaptor/provider/src/main
parente5aad808db5203acec496eed43b5785fc0640d90 (diff)
Fix Blocker/Critical sonar issues
Fix Blocker/Critical sonar issues in appc module https://sonar.onap.org/component_issues?id=org.openecomp.appc%3Aappc#resolved=false|severities=BLOCKER|fileUuids=AV36PknS89V-MRZU58_g Issue-Id: APPC-186 Change-Id: I50868e7e76f03a724d97889432f2dce53552b36f Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'appc-config/appc-config-adaptor/provider/src/main')
-rw-r--r--appc-config/appc-config-adaptor/provider/src/main/java/org/openecomp/appc/ccadaptor/ConfigComponentAdaptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-config/appc-config-adaptor/provider/src/main/java/org/openecomp/appc/ccadaptor/ConfigComponentAdaptor.java b/appc-config/appc-config-adaptor/provider/src/main/java/org/openecomp/appc/ccadaptor/ConfigComponentAdaptor.java
index ec8727fa6..4470ff2ee 100644
--- a/appc-config/appc-config-adaptor/provider/src/main/java/org/openecomp/appc/ccadaptor/ConfigComponentAdaptor.java
+++ b/appc-config/appc-config-adaptor/provider/src/main/java/org/openecomp/appc/ccadaptor/ConfigComponentAdaptor.java
@@ -1008,7 +1008,7 @@ public class ConfigComponentAdaptor implements SvcLogicAdaptor
{
StringBuffer strBuff = new StringBuffer();
String line;
- try(BufferedReader in = new BufferedReader(new FileReader(fileName)))
+ try (BufferedReader in = new BufferedReader(new FileReader(fileName)))
{
while ((line = in.readLine()) != null)
{