Remove null check

This commit is contained in:
Andrea Cavalli 2021-09-23 12:04:10 +02:00
parent bed8421d89
commit bd8b7af73a
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ public class LoadLibrary {
if (Files.notExists(tempFile)) {
Files.copy(libInputStream, tempFile);
}
if (libInputStream != null) libInputStream.close();
libInputStream.close();
System.load(tempFile.toFile().getAbsolutePath());
}