Browse Source
FileSetting: remove dead code
Successful instanceof implies non-null.
accumulation-v4.7
Joachim Klein
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
prism/src/settings/FileSetting.java
|
|
|
@ -87,8 +87,7 @@ public class FileSetting extends Setting |
|
|
|
if(obj instanceof File) |
|
|
|
{ |
|
|
|
File f = (File)obj; |
|
|
|
if(f != null) validFile = f.isFile(); |
|
|
|
else validFile = false; |
|
|
|
validFile = f.isFile(); |
|
|
|
} |
|
|
|
else |
|
|
|
validFile = false; |
|
|
|
|