mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix NPE if equals to default
GitOrigin-RevId: 6ea2a89772f683dfc652ec2a8eb5058eed29471c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
eadc9ae8ef
commit
acff0e52df
@@ -137,7 +137,10 @@ public class RunnerLayout {
|
||||
|
||||
for (TabImpl eachTab : myTabs) {
|
||||
if (isUsed(eachTab)) {
|
||||
parentNode.addContent(XmlSerializer.serialize(eachTab));
|
||||
Element element = XmlSerializer.serialize(eachTab);
|
||||
if (element != null) {
|
||||
parentNode.addContent(element);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user