removed block of commented-out lines of code
[cli.git] / framework / src / main / java / org / onap / cli / fw / store / OnapCommandArtifactStore.java
index ca4c603..3b6e785 100644 (file)
@@ -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