final classes for types not intended to be subclassed

This commit is contained in:
Brian Sweeney 2018-03-12 09:58:29 -06:00
parent 4744255270
commit 2d94bec621
4 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ import org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent;
/** /**
* Makes nodes for common files search results. * Makes nodes for common files search results.
*/ */
class CommonFilesChildren extends Children.Keys<AbstractFile> { final class CommonFilesChildren extends Children.Keys<AbstractFile> {
CommonFilesChildren(boolean lazy, List<AbstractFile> fileList) { CommonFilesChildren(boolean lazy, List<AbstractFile> fileList) {
super(lazy); super(lazy);

View File

@ -27,7 +27,7 @@ import org.openide.windows.WindowManager;
/** /**
* Dialog box for configuring and running common files search. * Dialog box for configuring and running common files search.
*/ */
public class CommonFilesDialog extends javax.swing.JDialog { public final class CommonFilesDialog extends javax.swing.JDialog {
/** /**
* Creates new form CommonFilesDialog * Creates new form CommonFilesDialog

View File

@ -26,7 +26,7 @@ import org.sleuthkit.datamodel.AbstractFile;
/** /**
* Encapsulates data used to display common files search results in the top right pane. * Encapsulates data used to display common files search results in the top right pane.
*/ */
class CommonFilesNode extends AbstractNode { final class CommonFilesNode extends AbstractNode {
private CommonFilesChildren children; private CommonFilesChildren children;

View File

@ -37,7 +37,7 @@ import org.sleuthkit.datamodel.TskCoreException;
* Panel used for common files search configuration and configuration business logic. * Panel used for common files search configuration and configuration business logic.
* Nested within CommonFilesDialog. * Nested within CommonFilesDialog.
*/ */
public class CommonFilesPanel extends javax.swing.JPanel { public final class CommonFilesPanel extends javax.swing.JPanel {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;