mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
1001: Image gallery for muti-user cases
- More Codacy comments addressed.
This commit is contained in:
parent
9a5461fd6c
commit
36c638514f
@ -472,8 +472,8 @@ public final class ImageGalleryController {
|
||||
|
||||
try {
|
||||
List<DataSource> dataSources = sleuthKitCase.getDataSources();
|
||||
dataSources.forEach((ds) -> {
|
||||
db.insertDataSource(ds.getId());
|
||||
dataSources.forEach((dataSource) -> {
|
||||
db.insertDataSource(dataSource.getId());
|
||||
});
|
||||
}
|
||||
catch (TskCoreException ex) {
|
||||
|
@ -107,12 +107,11 @@ public final class ImageGalleryTopComponent extends TopComponent implements Expl
|
||||
/**
|
||||
* Returns the top component window.
|
||||
*
|
||||
* @return Image gallery top component window
|
||||
* @return Image gallery top component window, null if it's not open
|
||||
*/
|
||||
@ThreadConfined(type = ThreadConfined.ThreadType.JFX)
|
||||
public static TopComponent getTopComponent() {
|
||||
final TopComponent topComponent = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
|
||||
return topComponent;
|
||||
return WindowManager.getDefault().findTopComponent(PREFERRED_ID);
|
||||
}
|
||||
|
||||
public static void openTopComponent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user