mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Added escaping class name when deannotating/editing external annotation.
This commit is contained in:
@@ -421,7 +421,7 @@ public class ExternalAnnotationsManagerImpl extends BaseExternalAnnotationsManag
|
||||
final String externalName = getExternalName(listOwner, false);
|
||||
final String oldExternalName = getNormalizedExternalName(listOwner);
|
||||
for (final XmlTag tag : rootTag.getSubTags()) {
|
||||
final String className = tag.getAttributeValue("name");
|
||||
final String className = StringUtil.unescapeXml(tag.getAttributeValue("name"));
|
||||
if (!Comparing.strEqual(className, externalName) && !Comparing.strEqual(className, oldExternalName)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user