mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Avoid nested exceptions when trying to calculate toString() of an incompletely initialized project
GitOrigin-RevId: 4b7f7f3b1baa970d158cadfb5cee8d6935c85b3c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1ab5cead2b
commit
57a9155cf6
@@ -359,7 +359,7 @@ public class ProjectImpl extends PlatformComponentManagerImpl implements Project
|
||||
public String toString() {
|
||||
return "Project" +
|
||||
(isDisposed() ? " (Disposed" + (temporarilyDisposed ? " temporarily" : "") + ")"
|
||||
: " '" + getPresentableUrl() + "'") +
|
||||
: " '" + (myComponentStore.isComputed() ? getPresentableUrl() : "<no component store>") + "'") +
|
||||
" " + myName;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user