mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #4128 from millmanorama/1030-remove-synchronization
1030 - remove synchronized block
This commit is contained in:
commit
945c1b3ea4
@ -344,7 +344,7 @@ public final class ImageGalleryTopComponent extends TopComponent implements Expl
|
||||
+ "or no groups are fully analyzed but ingest is not running."})
|
||||
private void checkForGroups() {
|
||||
GroupManager groupManager = controller.getGroupManager();
|
||||
synchronized (groupManager) {
|
||||
|
||||
if (isNotEmpty(groupManager.getAnalyzedGroups())) {
|
||||
clearNotification();
|
||||
return;
|
||||
@ -388,7 +388,6 @@ public final class ImageGalleryTopComponent extends TopComponent implements Expl
|
||||
new NoGroupsDialog(Bundle.ImageGalleryController_noGroupsDlg_msg6()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ThreadConfined(type = ThreadConfined.ThreadType.JFX)
|
||||
private void replaceNotification(StackPane stackPane, Node newNode) {
|
||||
|
@ -232,9 +232,8 @@ public class GroupManager {
|
||||
}
|
||||
|
||||
public boolean isRegrouping() {
|
||||
Worker.State state = regrouper.getState();
|
||||
return Arrays.asList(Worker.State.READY, Worker.State.RUNNING, Worker.State.SCHEDULED)
|
||||
.contains(state);
|
||||
.contains(regrouper.getState());
|
||||
}
|
||||
|
||||
public ReadOnlyObjectProperty<Worker.State> reGroupingState() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user