change init name

This commit is contained in:
momo 2015-07-29 15:53:46 -04:00
parent 38a460d269
commit db40bf6104

View File

@ -99,7 +99,7 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
return totals; return totals;
} }
private static synchronized void initTotalIngestJob(long ingestJobId) { private static synchronized void initTotalsForIngestJob(long ingestJobId) {
IngestJobTotals totals = new PhotoRecCarverFileIngestModule.IngestJobTotals(); IngestJobTotals totals = new PhotoRecCarverFileIngestModule.IngestJobTotals();
totalsForIngestJobs.put(ingestJobId, totals); totalsForIngestJobs.put(ingestJobId, totals);
} }
@ -143,7 +143,7 @@ final class PhotoRecCarverFileIngestModule implements FileIngestModule {
PhotoRecCarverFileIngestModule.pathsByJob.put(this.jobId, new WorkingPaths(outputDirPath, tempDirPath)); PhotoRecCarverFileIngestModule.pathsByJob.put(this.jobId, new WorkingPaths(outputDirPath, tempDirPath));
// Initialize job totals // Initialize job totals
initTotalIngestJob(jobId); initTotalsForIngestJob(jobId);
} catch (SecurityException | IOException | UnsupportedOperationException ex) { } catch (SecurityException | IOException | UnsupportedOperationException ex) {
throw new IngestModule.IngestModuleException(NbBundle.getMessage(this.getClass(), "cannotCreateOutputDir.message", ex.getLocalizedMessage())); throw new IngestModule.IngestModuleException(NbBundle.getMessage(this.getClass(), "cannotCreateOutputDir.message", ex.getLocalizedMessage()));
} }