Skip to content

Commit ec750c5

Browse files
committed
Lambda replaced by method reference.
1 parent df0771c commit ec750c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aima-gui/src/main/java/aima/gui/fx/views/WumpusEnvironmentViewCtrl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void setShowRoomContent(boolean showRoomContent) {
4444
if (Platform.isFxApplicationThread())
4545
update();
4646
else
47-
Platform.runLater(() -> update());
47+
Platform.runLater(this::update);
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)