From d7384b53d0f8ec96bc44f52366b57e4afeea4943 Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Tue, 1 Mar 2005 19:48:08 +0300 Subject: [PATCH] (no message) --- source/com/intellij/xml/util/XmlUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());