diff --git a/source/com/intellij/xml/util/XmlUtil.java b/source/com/intellij/xml/util/XmlUtil.java index dd52c46df367..d1ee7dcfe09e 100644 --- a/source/com/intellij/xml/util/XmlUtil.java +++ b/source/com/intellij/xml/util/XmlUtil.java @@ -315,7 +315,7 @@ public class XmlUtil { if (value == null) { value = entityDecl.getManager().getCachedValuesManager().createCachedValue(new CachedValueProvider() { - public CachedValueProvider.Result compute() { + public CachedValueProvider.Result compute() { final PsiElement res = entityDecl.parse(targetFile, type, entityRef); if (res == null) return new Result(res, new Object[]{targetFile}); return new CachedValueProvider.Result(res, new Object[]{res.getUserData(XmlElement.DEPENDING_ELEMENT), entityDecl, targetFile, entityRef}); @@ -548,7 +548,7 @@ public class XmlUtil { } else { final XmlAttribute[] attributes = tag.getAttributes(); - Collections.sort(list); + Collections.sort((List)list); Arrays.sort(attributes, new Comparator() { public int compare(Object o1, Object o2) { return ((XmlAttribute)o1).getName().compareTo(((XmlAttribute)o2).getName());