scijava/native-lib-loader — pull request #4 by sbesson (2014-08-21 10:14:47+00:00)
Title: Add a return line in case no file is retruned from listFiles()

Closes #3

Under certain conditions (platform, Java version dependent), `listFiles()` can return `null` causing a NullPointerException. This PR attempts to fix this error by returning before the for loop is no file is returned.