Skip to content

Commit 620f742

Browse files
committed
Modeler cleanup
1 parent 031dc1a commit 620f742

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/CayenneModelerController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void windowClosing(WindowEvent e) {
130130
// Register a hook to save the window position when quit via the app menu.
131131
// This is in Mac OSX only.
132132
if (System.getProperty("os.name").startsWith("Mac OS")) {
133-
Runnable runner = () -> projectController.saveSelectionToPrefs();
133+
Runnable runner = projectController::saveSelectionToPrefs;
134134
Runtime.getRuntime().addShutdownHook(new Thread(runner, "Window Prefs Hook"));
135135
}
136136

0 commit comments

Comments
 (0)