Merge pull request #625 from SynapticNulship/7zip-init

7zip init
This commit is contained in:
Richard Cordovano 2014-04-16 15:17:22 -04:00
commit 0dcdf692d1

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();