mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Address review comments
This commit is contained in:
parent
63860fd551
commit
ae5621db16
@ -401,8 +401,7 @@ public final class ImageGalleryController {
|
||||
*/
|
||||
public void rebuildDB() {
|
||||
// queue a rebuild task for each stale data source
|
||||
Set<Long> staleDataSources = getStaleDataSourceIds();
|
||||
staleDataSources.forEach((dataSourceObjId) -> {
|
||||
getStaleDataSourceIds().forEach((dataSourceObjId) -> {
|
||||
queueDBTask(new CopyAnalyzedFiles(dataSourceObjId, instance, db, sleuthKitCase));
|
||||
});
|
||||
}
|
||||
|
@ -40,8 +40,6 @@ class PerCaseProperties {
|
||||
|
||||
public static final String ENABLED = "enabled"; //NON-NLS
|
||||
|
||||
public static final String STALE = "stale"; //NON-NLS
|
||||
|
||||
private final Case theCase;
|
||||
|
||||
PerCaseProperties(Case c) {
|
||||
|
@ -786,7 +786,7 @@ public final class DrawableDB {
|
||||
statement = con.createStatement();
|
||||
rs = statement.executeQuery("SELECT ds_obj_id, drawable_db_build_status FROM datasources "); //NON-NLS
|
||||
while (rs.next()) {
|
||||
map.put(rs.getLong(1), DrawableDbBuildStatusEnum.valueOf(rs.getString(2)));
|
||||
map.put(rs.getLong("ds_obj_id"), DrawableDbBuildStatusEnum.valueOf(rs.getString("drawable_db_build_status")));
|
||||
}
|
||||
} catch (SQLException e) {
|
||||
throw new TskCoreException("SQLException while getting data source object ids", e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user