Fix formatting

This commit is contained in:
Ryan Hill 2021-05-10 14:08:46 -07:00
parent cd2c891a34
commit 567133235d

View file

@ -219,9 +219,11 @@ final class OnnxRuntime {
logger.log(Level.FINE, "Extracted native library '" + library + "' from resource path");
}
}
} catch(Exception e) {
if(systemLoad) // We only throw if we're loading the library, otherwise failure is okay
} catch (Exception e) {
if (systemLoad) {
// We only throw if we're loading the library, otherwise failure is okay
throw e;
}
} finally {
cleanUp(tempFile, !systemLoad);
}