diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2022-04-04 03:50:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-04-04 03:50:08 +0000 |
commit | 92fc83e29f8ddf853555471ac4889342d89286cc (patch) | |
tree | 165d986553f3ebf5f04639992af06e0cd36ced2c /framework/src/main/java | |
parent | d49d76def2aa1b7818e93fbaa20466aef3356e74 (diff) | |
parent | 25a406a2402c70b3608ea440c621dd793f6c6e1d (diff) |
Merge "removed block of commented-out lines of code"
Diffstat (limited to 'framework/src/main/java')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/store/OnapCommandArtifactStore.java | 7 |
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 |