mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
early return
This commit is contained in:
parent
976180eb11
commit
5f3a9ff04a
@ -174,6 +174,7 @@ public class ViewContextAction extends AbstractAction {
|
|||||||
if ((parentContent != null) && (parentContent instanceof UnsupportedContent)) {
|
if ((parentContent != null) && (parentContent instanceof UnsupportedContent)) {
|
||||||
MessageNotifyUtil.Message.error(Bundle.ViewContextAction_errorMessage_unsupportedParent());
|
MessageNotifyUtil.Message.error(Bundle.ViewContextAction_errorMessage_unsupportedParent());
|
||||||
logger.log(Level.WARNING, String.format("Could not navigate to unsupported content with id: %d", parentContent.getId())); //NON-NLS
|
logger.log(Level.WARNING, String.format("Could not navigate to unsupported content with id: %d", parentContent.getId())); //NON-NLS
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the "Data Sources" node from the tree view.
|
// Get the "Data Sources" node from the tree view.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user