We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code breaks because FileType.Cfbf.getAllExtensions() returns null instead of String[0]:
private final static List<String> supportedImageFileTypes = new ArrayList<>(); static { for (FileType fileType : FileType.values()) { for (String extension : fileType.getAllExtensions()) { supportedImageFileTypes.add(extension.toLowerCase()); } } }
As expected, String[0] is returned for FileType.Unknown and FileType.Riff (both of which have no associated extension).
The text was updated successfully, but these errors were encountered:
Fix of drewnoakes#676
0b566c0
Merge pull request #677 from ogawaffm/main
0c3452b
Fix of #676
Fixed in #677
Sorry, something went wrong.
No branches or pull requests
The following code breaks because FileType.Cfbf.getAllExtensions() returns null instead of String[0]:
As expected, String[0] is returned for FileType.Unknown and FileType.Riff (both of which have no associated extension).
The text was updated successfully, but these errors were encountered: