Skip to content

Commit

Permalink
Reformatted the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Loeffler committed Nov 8, 2022
1 parent f2436bd commit f1187fc
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ private void openDocument() {
new FileChooser.ExtensionFilter(I18N.getString("file.filter.label.fxml"), "*.fxml")
);
fileChooser.setInitialDirectory(EditorController.getNextInitialDirectory());

List<File> fxmlFiles = fileChooser.showOpenMultipleDialog(getStage());

// no file was selected, so nothing to do
Expand All @@ -225,7 +224,6 @@ private void openDocument() {
protected static AlertDialog questionMissingFilesCleanup(Stage stage, List<String> missingFiles) {
String withPath = missingFiles.stream()
.collect(Collectors.joining(System.lineSeparator()));

AlertDialog question = new AlertDialog(stage);
StringBuilder shortMessage = new StringBuilder();
if (missingFiles.size() > 1) {
Expand Down Expand Up @@ -292,8 +290,9 @@ private void openFilesAndHideStage(List<String> files) {
* @param fileLoader Determines how files are loaded.
*/
void handleOpen(List<String> filePaths,
Consumer<List<String>> missingFilesHandler,
Consumer<List<String>> fileLoader) {
Consumer<List<String>> missingFilesHandler,
Consumer<List<String>> fileLoader) {

if (filePaths.isEmpty()) {
return;
}
Expand Down

0 comments on commit f1187fc

Please sign in to comment.