mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
1168: CompletableFuture may not always complete.
This commit is contained in:
parent
1038675568
commit
c5b0cf44f8
@ -767,11 +767,11 @@ public final class DrawableDB {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (SQLException ex) {
|
} catch (SQLException ex) {
|
||||||
logger.log(Level.SEVERE, "Failed to get group seen", ex); //NON-NLS
|
completeExceptionally(ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Callback to process result of seen query
|
// Callback to process result of seen query
|
||||||
GroupSeenQueryResultProcessor queryResultProcessor = new GroupSeenQueryResultProcessor();
|
GroupSeenQueryResultProcessor queryResultProcessor = new GroupSeenQueryResultProcessor();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
@ -784,7 +784,7 @@ public final class DrawableDB {
|
|||||||
return queryResultProcessor.get();
|
return queryResultProcessor.get();
|
||||||
} catch (ExecutionException | InterruptedException | TskCoreException ex) {
|
} catch (ExecutionException | InterruptedException | TskCoreException ex) {
|
||||||
String msg = String.format("Failed to get is group seen for group key %s", groupKey.getValueDisplayName()); //NON-NLS
|
String msg = String.format("Failed to get is group seen for group key %s", groupKey.getValueDisplayName()); //NON-NLS
|
||||||
logger.log(Level.WARNING, msg, ex);
|
logger.log(Level.SEVERE, msg, ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user