From 68292e69c6ba20caa304ea0d7d255b73b0f31479 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 22 Oct 2018 14:10:06 +0200 Subject: [PATCH] Made `file` parameter final --- src/dorkbox/util/Desktop.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/util/Desktop.java b/src/dorkbox/util/Desktop.java index ba90c3d..19ae05b 100644 --- a/src/dorkbox/util/Desktop.java +++ b/src/dorkbox/util/Desktop.java @@ -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."); }