Skip to content

Commit 5cc770d

Browse files
author
Federico Fissore
committed
formatted
1 parent f183579 commit 5cc770d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/src/processing/app/Editor.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,15 +2044,15 @@ protected boolean checkModified() {
20442044
JOptionPane.QUESTION_MESSAGE);
20452045

20462046
switch (result) {
2047-
case JOptionPane.YES_OPTION:
2048-
return handleSave(true);
2049-
case JOptionPane.NO_OPTION:
2050-
return true; // ok to continue
2051-
case JOptionPane.CANCEL_OPTION:
2052-
case JOptionPane.CLOSED_OPTION: // Escape key pressed
2053-
return false;
2054-
default:
2055-
throw new IllegalStateException();
2047+
case JOptionPane.YES_OPTION:
2048+
return handleSave(true);
2049+
case JOptionPane.NO_OPTION:
2050+
return true; // ok to continue
2051+
case JOptionPane.CANCEL_OPTION:
2052+
case JOptionPane.CLOSED_OPTION: // Escape key pressed
2053+
return false;
2054+
default:
2055+
throw new IllegalStateException();
20562056
}
20572057

20582058
} else {

0 commit comments

Comments
 (0)