Skip to content

Commit

Permalink
Add cut off similar to JDK implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Sep 22, 2024
1 parent cc74df1 commit 7d2ec6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ public ForFolder(File folder) throws IOException {
for (int index = 0; index < file.length; index++) {
try {
int version = Integer.parseInt(file[index].getName());
if (version <= current) {
if (version <= current && version > 7) {
versions.add(version);
}
} catch (NumberFormatException ignored) {
Expand Down

0 comments on commit 7d2ec6d

Please sign in to comment.