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:
parent
215165ed97
commit
ea28784e8b
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user