mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 08:26:15 +00:00
update for comment
This commit is contained in:
parent
0f9fbc12c5
commit
7abda4855b
@ -338,8 +338,8 @@ public class Installer extends ModuleInstall {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Make a folder in the config directory for object detection classifiers if one does not
|
* Make a folder in the config directory for object detection classifiers if
|
||||||
* exist.
|
* one does not exist.
|
||||||
*/
|
*/
|
||||||
private static void ensureClassifierFolderExists() {
|
private static void ensureClassifierFolderExists() {
|
||||||
File objectDetectionClassifierDir = new File(PlatformUtil.getObjectDetectionClassifierPath());
|
File objectDetectionClassifierDir = new File(PlatformUtil.getObjectDetectionClassifierPath());
|
||||||
@ -397,9 +397,10 @@ public class Installer extends ModuleInstall {
|
|||||||
preloadJython();
|
preloadJython();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes 7zip-java bindings.
|
* Initializes 7zip-java bindings. We are performing initialization once
|
||||||
|
* because we encountered issues related to file locking when initialization
|
||||||
|
* was performed closer to where the bindings are used. See JIRA-6528.
|
||||||
*/
|
*/
|
||||||
private void initializeSevenZip() {
|
private void initializeSevenZip() {
|
||||||
try {
|
try {
|
||||||
@ -418,8 +419,7 @@ public class Installer extends ModuleInstall {
|
|||||||
try {
|
try {
|
||||||
JythonModuleLoader.getIngestModuleFactories();
|
JythonModuleLoader.getIngestModuleFactories();
|
||||||
JythonModuleLoader.getGeneralReportModules();
|
JythonModuleLoader.getGeneralReportModules();
|
||||||
}
|
} catch (Exception ex) {
|
||||||
catch (Exception ex) {
|
|
||||||
// This is a firewall exception to ensure that any possible exception caused
|
// This is a firewall exception to ensure that any possible exception caused
|
||||||
// by this initial load of the Jython modules are caught and logged.
|
// by this initial load of the Jython modules are caught and logged.
|
||||||
logger.log(Level.SEVERE, "There was an error while doing an initial load of python plugins.", ex);
|
logger.log(Level.SEVERE, "There was an error while doing an initial load of python plugins.", ex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user