check if file exists or not

This commit is contained in:
Dave Johnson 2010-07-29 11:20:16 -07:00
parent 2b2b4f5dd4
commit 1af469c8b1

View File

@ -44,8 +44,7 @@ public final class Cache implements Command {
String filePath = fileDir + "/" + fileName;
File f = new File(filePath);
// f.exists()
if (false) {
if (f.exists()) {
result = "{ file: '"+filePath+"', status: 0 }";
} else {