mirror of
https://github.com/LucasVbr/LecteurPdfDoubleAffichage.git
synced 2026-05-13 17:11:51 +00:00
Refactor & commentaires
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user