Don't save null project if load failed

git-svn-id: http://google-refine.googlecode.com/svn/trunk@1449 7d457c2a-affb-35e4-300a-418c747d4874
This commit is contained in:
Tom Morris 2010-10-07 14:19:42 +00:00
parent 215165ed97
commit ea28784e8b

View File

@ -336,9 +336,9 @@ public abstract class ProjectManager {
return _projects.get(id);
} else {
Project project = loadProject(id);
_projects.put(id, project);
if (project != null) {
_projects.put(id, project);
}
return project;
}
}