From 7d2b3ab3933072436c1682cd63cad00d85e83d36 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 13 Aug 2010 10:05:06 +0200 Subject: [PATCH] Cleaning. --- src/fr/devinsy/util/unix/CachedFile.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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;