mirror of
https://github.com/elisspace/autopsy.git
synced 2026-10-05 16:56:16 +00:00
comments
This commit is contained in:
@@ -114,14 +114,15 @@ public final class FileTypesByExtension implements AutopsyVisitableItem {
|
||||
}
|
||||
|
||||
/**
|
||||
* Should the nodes show counts?
|
||||
*
|
||||
* @param skCase1 the value of skCase1
|
||||
* @return the boolean
|
||||
*
|
||||
* @return True, unless the DB has more than 200k rows.
|
||||
*/
|
||||
private boolean shouldShowCounts(SleuthkitCase skCase1) {
|
||||
private boolean shouldShowCounts(SleuthkitCase skCase) {
|
||||
if (showCounts) {
|
||||
try {
|
||||
if (skCase1.countFilesWhere("1") > 200000) {
|
||||
if (skCase.countFilesWhere("1") > 200000) {
|
||||
showCounts = false;
|
||||
}
|
||||
} catch (TskCoreException tskCoreException) {
|
||||
|
||||
@@ -179,6 +179,12 @@ public final class FileTypesByMimeType extends Observable implements AutopsyVisi
|
||||
populateHashMap();
|
||||
}
|
||||
|
||||
/**
|
||||
* Should the nodes show counts?
|
||||
*
|
||||
*
|
||||
* @return True, unless the DB has more than 200k rows.
|
||||
*/
|
||||
private boolean shouldShowCounts() {
|
||||
if (showCounts) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user