From 01a23ed9b0e826009b1d72e31382fa1f3c986d04 Mon Sep 17 00:00:00 2001
From: apriestman <apriestman@basistech.com>
Date: Wed, 29 Sep 2021 11:39:45 -0400
Subject: [PATCH] Fix doxygen warnings

---
 .../centralrepository/application/OtherOccurrences.java    | 2 --
 .../datamodel/CorrelationAttributeUtil.java                | 7 ++-----
 .../eventlisteners/CaseEventListener.java                  | 1 +
 .../autopsy/directorytree/DirectoryTreeTopComponent.java   | 1 +
 4 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/application/OtherOccurrences.java b/Core/src/org/sleuthkit/autopsy/centralrepository/application/OtherOccurrences.java
index f1f0b5ea91..ae35d971bf 100755
--- a/Core/src/org/sleuthkit/autopsy/centralrepository/application/OtherOccurrences.java
+++ b/Core/src/org/sleuthkit/autopsy/centralrepository/application/OtherOccurrences.java
@@ -97,7 +97,6 @@ public static Collection<CorrelationAttributeInstance> getCorrelationAttributeFr
      * find all artifact instances correlated to the given central repository
      * artifact.
      *
-     * @param file           The current file.
      * @param deviceId       The device ID for the current data source.
      * @param dataSourceName The name of the current data source.
      * @param corAttr        CorrelationAttribute to query for
@@ -245,7 +244,6 @@ public static String getEarliestCaseDate() throws CentralRepoException {
      * Create a cvs file of occurrences for the given parameters.
      *
      * @param destFile           Output file for the csv data.
-     * @param abstractFile       Source file.
      * @param correlationAttList List of correclationAttributeInstances, should
      *                           not be null.
      * @param dataSourceName     Name of the data source.
diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/CorrelationAttributeUtil.java b/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/CorrelationAttributeUtil.java
index 4b477884d6..fedc78065a 100755
--- a/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/CorrelationAttributeUtil.java
+++ b/Core/src/org/sleuthkit/autopsy/centralrepository/datamodel/CorrelationAttributeUtil.java
@@ -94,13 +94,13 @@ public static List<CorrelationAttributeInstance> makeCorrAttrsToSave(DataArtifac
 
     /**
      * Makes zero to many correlation attribute instances from the attributes of
-     * content objects that have correlatable data. The intention of this method
+     * abstract file objects that have correlatable data. The intention of this method
      * is to use the results to save to the CR, not to correlate with them. If
      * you want to correlate, please use makeCorrAttrsForSearch. An artifact
      * that can have correlatable data != An artifact that should be the source
      * of data in the CR, so results may be un-necessarily incomplete.
      *
-     * @param content A Content object.
+     * @param file A AbstractFile object.
      *
      * @return A list, possibly empty, of correlation attribute instances for
      *         the content.
@@ -324,7 +324,6 @@ private static BlackboardAttribute getAttribute(List<BlackboardAttribute> attrib
      * Makes a correlation attribute instance from a phone number attribute of
      * an artifact.
      *
-     * @param corrAttrInstances Correlation attributes will be added to this.
      * @param artifact          An artifact with a phone number attribute.
      * @param attributes        List of attributes.
      *
@@ -423,7 +422,6 @@ private static void makeCorrAttrFromAcctArtifact(List<CorrelationAttributeInstan
      * Makes a correlation attribute instance from a specified attribute of an
      * artifact. The correlation attribute instance is added to an input list.
      *
-     * @param corrAttrInstances A list of correlation attribute instances.
      * @param artifact          An artifact.
      * @param artAttrType       The type of the attribute of the artifact that
      *                          is to be made into a correlation attribute
@@ -459,7 +457,6 @@ private static List<CorrelationAttributeInstance> makeCorrAttrFromArtifactAttr(B
      * Makes a correlation attribute instance from a specified attribute of an
      * artifact. The correlation attribute instance is added to an input list.
      *
-     * @param corrAttrInstances A list of correlation attribute instances.
      * @param artifact          An artifact.
      * @param artAttrType       The type of the attribute of the artifact that
      *                          is to be made into a correlation attribute
diff --git a/Core/src/org/sleuthkit/autopsy/centralrepository/eventlisteners/CaseEventListener.java b/Core/src/org/sleuthkit/autopsy/centralrepository/eventlisteners/CaseEventListener.java
index 4b9ab561b1..542137a6aa 100644
--- a/Core/src/org/sleuthkit/autopsy/centralrepository/eventlisteners/CaseEventListener.java
+++ b/Core/src/org/sleuthkit/autopsy/centralrepository/eventlisteners/CaseEventListener.java
@@ -218,6 +218,7 @@ private static boolean hasNotableTag(List<? extends Tag> tags) {
     /**
      * Sets the known status of a blackboard artifact in the central repository.
      *
+     * @param dbManager   The central repo database.
      * @param bbArtifact  The blackboard artifact to set known status.
      * @param knownStatus The new known status.
      */
diff --git a/Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeTopComponent.java b/Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeTopComponent.java
index 36a9f1885b..ff1b497298 100644
--- a/Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeTopComponent.java
+++ b/Core/src/org/sleuthkit/autopsy/directorytree/DirectoryTreeTopComponent.java
@@ -1229,6 +1229,7 @@ private Optional<Node> getCategoryNode(Category category, BlackboardArtifact art
      *
      * @param node      The node.
      * @param osAccount The os account.
+     * @param hosts     List of hosts.
      *
      * @return The parent list node of the os account if found or empty if not.
      */
-- 
GitLab