aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsharath reddy <bs.reddy@huawei.com>2022-04-01 13:24:34 +0530
committersharath reddy <bs.reddy@huawei.com>2022-04-01 13:25:23 +0530
commit25a406a2402c70b3608ea440c621dd793f6c6e1d (patch)
treebe9895ea479af6603cb780b16874a822f5a9d2d4
parent37e08a4d965751c570b125eda565abd3d6dfafbc (diff)
removed block of commented-out lines of code
Issue-ID: CLI-439 report: tested weather-report Signed-off-by: sharath reddy <bs.reddy@huawei.com> Change-Id: I2e15d26c85909fa46df248c7ff9ac38fc7c34c70
-rw-r--r--framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java
index ca4c6038..3b6e7853 100644
--- a/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java
+++ b/framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java
@@ -233,12 +233,7 @@ public class OnapCommandArtifactStore {
final String SP = searchPattern; //NOSONAR
- for (File file: new File(getBasePath()).listFiles(/*new FilenameFilter() {
- @Override
- public boolean accept(File dir, String name) {
- return name.matches(SP);
- }
- }*/)) {
+ for (File file: new File(getBasePath()).listFiles()) {
try (JsonReader jsonReader = new JsonReader(new FileReader(file))){
artifacts.add(gson.fromJson(jsonReader, Artifact.class));
} catch (Exception e) { // NOSONAR