For unrecoverable projects, rename them with a suffix so the next time we won't try to recover them again.

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1472 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
David Huynh 2010-10-13 07:05:34 +00:00
parent 91ffe71d17
commit a16df8f2d6

View File

@ -358,6 +358,8 @@ public class FileProjectManager extends ProjectManager {
" in directory " + name);
} else {
logger.warn("Failed to recover project in directory " + name);
file.renameTo(new File(file.getParentFile(), name + ".corrupted"));
}
}
}