mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 01:07:42 +00:00
code review update
This commit is contained in:
parent
ce8904f8c4
commit
edf1c75524
@ -32,7 +32,7 @@ import org.sleuthkit.autopsy.coreutils.Logger;
|
|||||||
@ActionReference(path = "Menu/Case", position = 1000, separatorBefore = 999)
|
@ActionReference(path = "Menu/Case", position = 1000, separatorBefore = 999)
|
||||||
@ActionID(id = "org.sleuthkit.autopsy.casemodule.ExitAction", category = "Case")
|
@ActionID(id = "org.sleuthkit.autopsy.casemodule.ExitAction", category = "Case")
|
||||||
|
|
||||||
public class ExitAction implements ActionListener {
|
final public class ExitAction implements ActionListener {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionEvent e) {
|
public void actionPerformed(ActionEvent e) {
|
||||||
@ -42,7 +42,7 @@ public class ExitAction implements ActionListener {
|
|||||||
currentCase.closeCase();
|
currentCase.closeCase();
|
||||||
}
|
}
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
Logger.getLogger(ExitAction.class.getName()).log(Level.WARNING, "Had a problem closing the case.", ex); //NON-NLS
|
Logger.getLogger(ExitAction.class.getName()).log(Level.SEVERE, "Had a problem closing the case.", ex); //NON-NLS
|
||||||
} finally {
|
} finally {
|
||||||
LifecycleManager.getDefault().exit();
|
LifecycleManager.getDefault().exit();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user