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 {
|
try {
|
||||||
List<DataSource> dataSources = sleuthKitCase.getDataSources();
|
List<DataSource> dataSources = sleuthKitCase.getDataSources();
|
||||||
dataSources.forEach((ds) -> {
|
dataSources.forEach((dataSource) -> {
|
||||||
db.insertDataSource(ds.getId());
|
db.insertDataSource(dataSource.getId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (TskCoreException ex) {
|
catch (TskCoreException ex) {
|
||||||
|
@ -107,12 +107,11 @@ public final class ImageGalleryTopComponent extends TopComponent implements Expl
|
|||||||
/**
|
/**
|
||||||
* Returns the top component window.
|
* 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)
|
@ThreadConfined(type = ThreadConfined.ThreadType.JFX)
|
||||||
public static TopComponent getTopComponent() {
|
public static TopComponent getTopComponent() {
|
||||||
final TopComponent topComponent = WindowManager.getDefault().findTopComponent(PREFERRED_ID);
|
return WindowManager.getDefault().findTopComponent(PREFERRED_ID);
|
||||||
return topComponent;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void openTopComponent() {
|
public static void openTopComponent() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user