Refactor & commentaires

This commit is contained in:
NonoL3Robot
2021-11-28 21:29:32 +01:00
parent 604dbcd792
commit 3484fc70dc
@@ -49,9 +49,9 @@ public class SelectionnerFichier {
int returnValue = fileChooser.showOpenDialog(null);
File file = returnValue == 0 ? new File(
fileChooser.getSelectedFile().getAbsolutePath()) : null;
return file;
return returnValue == 0
? new File(fileChooser.getSelectedFile().getAbsolutePath())
: null;
}
}