From ae7e6137a2f1a2be82ecb10dc5b85275e694ed13 Mon Sep 17 00:00:00 2001
From: Kelly Kelly <kelly@basistech.com>
Date: Wed, 3 Feb 2021 17:48:16 -0500
Subject: [PATCH] Modified change comment for clarification

---
 .../sleuthkit/autopsy/imagegallery/ImageGalleryController.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ImageGallery/src/org/sleuthkit/autopsy/imagegallery/ImageGalleryController.java b/ImageGallery/src/org/sleuthkit/autopsy/imagegallery/ImageGalleryController.java
index 0ddded910b..d365df4e8c 100644
--- a/ImageGallery/src/org/sleuthkit/autopsy/imagegallery/ImageGalleryController.java
+++ b/ImageGallery/src/org/sleuthkit/autopsy/imagegallery/ImageGalleryController.java
@@ -839,7 +839,7 @@ public void propertyChange(PropertyChangeEvent event) {
                             Content newDataSource = (Content) event.getNewValue();
                             if (isListeningEnabled()) {
                                 try {
-                                    // Only add the data source if is not in the database
+                                    // If the data source already exists and has a status other than UNKNOWN, don’t overwrite it. 
                                     if(drawableDB.getDataSourceDbBuildStatus(newDataSource.getId()) == DrawableDB.DrawableDbBuildStatusEnum.UNKNOWN) {
                                         drawableDB.insertOrUpdateDataSource(newDataSource.getId(), DrawableDB.DrawableDbBuildStatusEnum.UNKNOWN);
                                     }
-- 
GitLab