Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arunans23 committed Jan 28, 2025
1 parent b4a0972 commit 1c0d318
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ private static boolean addFiles(ArrayList urls, final File libFiles) throws Malf
if (libFiles.exists() && libFiles.isDirectory()) {
File[] files = libFiles.listFiles();
for (int i = 0; i < files.length; ++i) {
if (files[i].getName().endsWith(".jar")) {
if (!files[i].isDirectory() && files[i].getName().endsWith(".jar")) {
urls.add(files[i].toURL());
}
}
Expand Down

0 comments on commit 1c0d318

Please sign in to comment.