Made `file` parameter final

This commit is contained in:
nathan 2018-10-22 14:10:06 +02:00
parent d834c2831e
commit 68292e69c6
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Desktop {
* @param file the file to open
*/
public static
void open(File file) throws IOException {
void open(final File file) throws IOException {
if (file == null) {
throw new IOException("File must not be null.");
}