fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 133 forks source link

Update `FileUtils#findFirstFile` to conform to specifications #376

Closed jyoo980 closed 1 year ago

jyoo980 commented 1 year ago

The Javadoc for FileUtils.java#findFirstFile states to return the found file or null if nothing matches.

This PR updates the implementation matches the specifications (the previous version throws a run-time exception when no file is found).

fvarrui commented 1 year ago

Hi @jyoo980! PR merged into devel. Thanks so much!