From 3efba9c99942cd512d821ad7f320827e98a1aa80 Mon Sep 17 00:00:00 2001
From: Richard Cordovano <rcordovano@basistech.com>
Date: Tue, 18 Dec 2018 15:01:13 -0500
Subject: [PATCH] Remove DataSourceLoader from publicly exported API

---
 .../autopsy/commonfilesearch/CommonAttributePanel.java          | 2 +-
 .../autopsy/{guiutils => datamodel/utils}/DataSourceLoader.java | 2 +-
 .../autopsy/modules/case_uco/ReportCaseUcoConfigPanel.java      | 2 +-
 .../sleuthkit/autopsy/commonfilessearch/InterCaseTestUtils.java | 2 +-
 .../sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
 rename Core/src/org/sleuthkit/autopsy/{guiutils => datamodel/utils}/DataSourceLoader.java (98%)

diff --git a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java
index 0bad76d40d..a4d6fe7b17 100644
--- a/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java
+++ b/Core/src/org/sleuthkit/autopsy/commonfilesearch/CommonAttributePanel.java
@@ -19,7 +19,7 @@
 package org.sleuthkit.autopsy.commonfilesearch;
 
 import org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel;
-import org.sleuthkit.autopsy.guiutils.DataSourceLoader;
+import org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader;
 import java.awt.Dimension;
 import java.sql.SQLException;
 import java.util.ArrayList;
diff --git a/Core/src/org/sleuthkit/autopsy/guiutils/DataSourceLoader.java b/Core/src/org/sleuthkit/autopsy/datamodel/utils/DataSourceLoader.java
similarity index 98%
rename from Core/src/org/sleuthkit/autopsy/guiutils/DataSourceLoader.java
rename to Core/src/org/sleuthkit/autopsy/datamodel/utils/DataSourceLoader.java
index deb333780a..0c1329d9f6 100644
--- a/Core/src/org/sleuthkit/autopsy/guiutils/DataSourceLoader.java
+++ b/Core/src/org/sleuthkit/autopsy/datamodel/utils/DataSourceLoader.java
@@ -17,7 +17,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package org.sleuthkit.autopsy.guiutils;
+package org.sleuthkit.autopsy.datamodel.utils;
 
 import java.io.File;
 import java.sql.ResultSet;
diff --git a/Core/src/org/sleuthkit/autopsy/modules/case_uco/ReportCaseUcoConfigPanel.java b/Core/src/org/sleuthkit/autopsy/modules/case_uco/ReportCaseUcoConfigPanel.java
index 4ed5a8f624..d2859fd6bc 100755
--- a/Core/src/org/sleuthkit/autopsy/modules/case_uco/ReportCaseUcoConfigPanel.java
+++ b/Core/src/org/sleuthkit/autopsy/modules/case_uco/ReportCaseUcoConfigPanel.java
@@ -24,7 +24,7 @@
 import java.util.Map.Entry;
 import javax.swing.ComboBoxModel;
 import org.sleuthkit.autopsy.casemodule.NoCurrentCaseException;
-import org.sleuthkit.autopsy.guiutils.DataSourceLoader;
+import org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader;
 import org.sleuthkit.autopsy.guiutils.DataSourceComboBoxModel;
 import org.sleuthkit.datamodel.TskCoreException;
 
diff --git a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/InterCaseTestUtils.java b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/InterCaseTestUtils.java
index 5148f68670..0a237315fe 100644
--- a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/InterCaseTestUtils.java
+++ b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/InterCaseTestUtils.java
@@ -56,7 +56,7 @@
 import org.sleuthkit.autopsy.commonfilesearch.CentralRepoCommonAttributeInstance;
 import org.sleuthkit.autopsy.commonfilesearch.CentralRepoCommonAttributeInstanceNode;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeCountSearchResults;
-import org.sleuthkit.autopsy.guiutils.DataSourceLoader;
+import org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeValue;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeValueList;
 import org.sleuthkit.autopsy.datamodel.DisplayableItemNode;
diff --git a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java
index 6177b5c305..339b174f77 100644
--- a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java
+++ b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IntraCaseTestUtils.java
@@ -34,7 +34,7 @@
 import org.sleuthkit.autopsy.casemodule.NoCurrentCaseException;
 import org.sleuthkit.autopsy.commonfilesearch.AbstractCommonAttributeInstance;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeCountSearchResults;
-import org.sleuthkit.autopsy.guiutils.DataSourceLoader;
+import org.sleuthkit.autopsy.datamodel.utils.DataSourceLoader;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeValue;
 import org.sleuthkit.autopsy.commonfilesearch.CommonAttributeValueList;
 import org.sleuthkit.autopsy.coreutils.TimeStampUtils;
-- 
GitLab