size == 0 changed to isEmpty

This commit is contained in:
Brian Sweeney
2018-05-14 13:28:14 -06:00
parent 461bc820d7
commit df68ffebe0
@@ -124,7 +124,7 @@ public class IngestedWithNoFileTypes extends AbstractIntraCaseCommonFilesSearchT
List<AbstractFile> files = getFiles(objectIdToDataSource.keySet());
assertTrue(files.size() == 0);
assertTrue(files.isEmpty());
} catch (NoCurrentCaseException | TskCoreException | SQLException ex) {
Exceptions.printStackTrace(ex);