mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
comments
This commit is contained in:
parent
f76b296ed2
commit
e46ce6c4da
@ -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) {
|
if (showCounts) {
|
||||||
try {
|
try {
|
||||||
if (skCase1.countFilesWhere("1") > 200000) {
|
if (skCase.countFilesWhere("1") > 200000) {
|
||||||
showCounts = false;
|
showCounts = false;
|
||||||
}
|
}
|
||||||
} catch (TskCoreException tskCoreException) {
|
} catch (TskCoreException tskCoreException) {
|
||||||
|
@ -179,6 +179,12 @@ public final class FileTypesByMimeType extends Observable implements AutopsyVisi
|
|||||||
populateHashMap();
|
populateHashMap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should the nodes show counts?
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return True, unless the DB has more than 200k rows.
|
||||||
|
*/
|
||||||
private boolean shouldShowCounts() {
|
private boolean shouldShowCounts() {
|
||||||
if (showCounts) {
|
if (showCounts) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user