We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba1a8dc commit 1094cbaCopy full SHA for 1094cba
src/main/java/org/scijava/ui/AbstractUIInputWidget.java
@@ -80,12 +80,7 @@ public void refreshWidget() {
80
// on the EDT.
81
if (ui().requiresEDT()) {
82
try {
83
- threadService.invoke(new Runnable() {
84
- @Override
85
- public void run() {
86
- doRefresh();
87
- }
88
- });
+ threadService.invoke(() -> doRefresh());
89
}
90
catch (InterruptedException e) {
91
log.error("Interrupted while refresh widget: " + getClass(), e);
0 commit comments