mirror of
https://github.com/LucasVbr/LecteurPdfDoubleAffichage.git
synced 2026-07-09 20:57:44 +00:00
Refactor & commentaires
This commit is contained in:
@@ -49,9 +49,9 @@ public class SelectionnerFichier {
|
|||||||
|
|
||||||
|
|
||||||
int returnValue = fileChooser.showOpenDialog(null);
|
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