changed conditional for manually initting 7zip lib

This commit is contained in:
Samuel H. Kenyon 2014-04-15 17:12:45 -04:00
parent 8cd69b693d
commit f49ca12894

View File

@ -125,8 +125,7 @@ public final class SevenZipIngestModule extends IngestModuleAdapter implements F
}
}
// if first instance of this module for this job then check 7zip init
if (refCounter.incrementAndGet(jobId) == 1) {
if (!SevenZip.isInitializedSuccessfully() && (SevenZip.getLastInitializationException() == null)) {
try {
SevenZip.initSevenZipFromPlatformJAR();
String platform = SevenZip.getUsedPlatform();