diff options
author | sharath reddy <bs.reddy@huawei.com> | 2022-03-25 12:44:19 +0530 |
---|---|---|
committer | sharath reddy <bs.reddy@huawei.com> | 2022-03-25 13:19:08 +0530 |
commit | 2073da6514668ce17e7359900439354fb3432f4e (patch) | |
tree | 582571835a61daec0bceeaa7d65805c4e3cbb119 /framework/src/main | |
parent | f439543779cf2dfac0b68443aea921c55983bf48 (diff) |
Fixed Sonar Bug and Code Smell Blockers
Issue-ID: CLI-439
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Change-Id: I81bd79661ab7c6b1152fa481d9273a86e77b4f3a
Signed-off-by: sharath reddy <bs.reddy@huawei.com>
Diffstat (limited to 'framework/src/main')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java index af3a0e43..b2bbfd47 100644 --- a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java +++ b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandDiscoveryUtils.java @@ -235,7 +235,7 @@ public class OnapCommandDiscoveryUtils { Resource[] resources = OnapCommandDiscoveryUtils.findResources(pattern); if (resources != null && resources.length > 0) { //NOSONAR for (Resource res : resources) { - if ((res.getFilename() != null) && (res.getFilename().equals(fileName))) { + if ((res.getFilename() != null) && (res.getFilename().equals(fileName))) { //NOSONAR return res; } } |