Skip to content

Commit

Permalink
remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
jjiwooLim committed Oct 16, 2023
1 parent f2a3ef6 commit 8939b7f
Showing 1 changed file with 0 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,6 @@ public class VerifyUsrFeatureTest {
static File userTestRepo = new File(mavenLocalRepo, "test/user/test/features");

Logger logger = Logger.getLogger(VerifyUsrFeatureTest.class.getName());


@After
public void cleanUp() {
//delete installed user feature from liberty.
//featureFile.delete();
}

public static boolean deleteFolder(final File directory) {
if (directory.isDirectory()) {
File[] files = directory.listFiles();
if (null != files) {
for (File file : files) {
if (file.isDirectory()) {
deleteFolder(file);
} else {
if (!file.delete()) {
file.deleteOnExit();
}
}
}
}
}
if(!directory.delete()){
directory.deleteOnExit();
return false;
}
return true;
}


@Test
Expand Down

0 comments on commit 8939b7f

Please sign in to comment.