From df68ffebe0485690df44386a8fdd924fd76d2aff Mon Sep 17 00:00:00 2001 From: Brian Sweeney Date: Mon, 14 May 2018 13:28:14 -0600 Subject: [PATCH] size == 0 changed to isEmpty --- .../autopsy/commonfilessearch/IngestedWithNoFileTypes.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IngestedWithNoFileTypes.java b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IngestedWithNoFileTypes.java index a9c7ca707a..24b614eb5b 100644 --- a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IngestedWithNoFileTypes.java +++ b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/IngestedWithNoFileTypes.java @@ -124,7 +124,7 @@ public class IngestedWithNoFileTypes extends AbstractIntraCaseCommonFilesSearchT List files = getFiles(objectIdToDataSource.keySet()); - assertTrue(files.size() == 0); + assertTrue(files.isEmpty()); } catch (NoCurrentCaseException | TskCoreException | SQLException ex) { Exceptions.printStackTrace(ex);