mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-81430 - NPE: XmlTagValueImpl.hasCDATA
This commit is contained in:
@@ -148,7 +148,7 @@ public class XmlTagValueImpl implements XmlTagValue{
|
||||
|
||||
@Override
|
||||
public boolean hasCDATA() {
|
||||
for (XmlText xmlText : myTextElements) {
|
||||
for (XmlText xmlText : getTextElements()) {
|
||||
PsiElement[] children = xmlText.getChildren();
|
||||
for (PsiElement child : children) {
|
||||
if (child.getNode().getElementType() == XmlElementType.XML_CDATA) {
|
||||
|
||||
Reference in New Issue
Block a user