EA-53406 - IAE: ServiceManager.getService

This commit is contained in:
Gregory.Shrago
2014-01-18 14:03:50 +04:00
parent 33c31e6384
commit 7db1bedf95
@@ -114,6 +114,7 @@ public abstract class DummyCachingFileSystem<T extends VirtualFile> extends Dumm
throw new UnsupportedOperationException("not implemented");
}
@Nullable
public Project getProject(String projectId) {
List<Project> list = myProject2Id.getKeysByValue(projectId);
return list == null || list.size() > 1 ? null : list.get(0);