Clean up other compiler warnings

This commit is contained in:
Kenzie Togami
2018-12-26 16:50:24 -08:00
committed by IronApollo
parent 94ebb81e92
commit 4b5b7b8003
4 changed files with 20 additions and 33 deletions

View File

@ -85,7 +85,7 @@ public final class FileDialogUtil {
if (index == -1 || index == path.length() - 1) {
return false;
} else {
return exts.contains(path.indexOf(index + 1));
return exts.contains(path.substring(index + 1));
}
}