diff --git a/src/fr/devinsy/util/unix/CachedFile.java b/src/fr/devinsy/util/unix/CachedFile.java index 7e24730..e42e16d 100644 --- a/src/fr/devinsy/util/unix/CachedFile.java +++ b/src/fr/devinsy/util/unix/CachedFile.java @@ -47,12 +47,7 @@ public class CachedFile { File source = new File (this.sourceName); - if (source == null) - { - logger.error ("source file not defined (" + this.sourceName + ")"); - result = null; - } - else if (!source.exists ()) + if (!source.exists ()) { logger.error ("source file defined but not found"); result = null;