Cleaning.
This commit is contained in:
parent
64124fe22c
commit
7d2b3ab393
1 changed files with 1 additions and 6 deletions
|
@ -47,12 +47,7 @@ public class CachedFile
|
||||||
{
|
{
|
||||||
File source = new File (this.sourceName);
|
File source = new File (this.sourceName);
|
||||||
|
|
||||||
if (source == null)
|
if (!source.exists ())
|
||||||
{
|
|
||||||
logger.error ("source file not defined (" + this.sourceName + ")");
|
|
||||||
result = null;
|
|
||||||
}
|
|
||||||
else if (!source.exists ())
|
|
||||||
{
|
{
|
||||||
logger.error ("source file defined but not found");
|
logger.error ("source file defined but not found");
|
||||||
result = null;
|
result = null;
|
||||||
|
|
Loading…
Reference in a new issue