Closed matcracker closed 4 years ago
I can move the condition inside the function, but in any case it can't generate a resource leak
getResource opens a new stream if possible. If it is non null, you are ignoring the stream.
Also please rebase on latest master. See the merge conflicts.
Please rebase from poggit:master, not to cherry-pick all your local changes to the old upstream.
Done?
How can it open a null resource stream? The getResource() already checks the file, if it exists will open the stream else not.