diff options
author | david_williams | 2005-11-19 23:07:34 +0000 |
---|---|---|
committer | david_williams | 2005-11-19 23:07:34 +0000 |
commit | c040dc54a41a25b2d69976e2890c668ea891d9fd (patch) | |
tree | 50e3b22999515718a757601f10bcd9a444452ef8 /bundles/org.eclipse.wst.xml.ui/src-catalog | |
parent | 62c016e4c190c0cd9d5f5a185a98674da3f16f71 (diff) | |
download | webtools.sourceediting-c040dc54a41a25b2d69976e2890c668ea891d9fd.tar.gz webtools.sourceediting-c040dc54a41a25b2d69976e2890c668ea891d9fd.tar.xz webtools.sourceediting-c040dc54a41a25b2d69976e2890c668ea891d9fd.zip |
[117204] Unnecessary class casts can impact performance
Diffstat (limited to 'bundles/org.eclipse.wst.xml.ui/src-catalog')
-rw-r--r-- | bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/XMLCatalogTreeViewer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/XMLCatalogTreeViewer.java b/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/XMLCatalogTreeViewer.java index 10321af61d..ff39ae2a35 100644 --- a/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/XMLCatalogTreeViewer.java +++ b/bundles/org.eclipse.wst.xml.ui/src-catalog/org/eclipse/wst/xml/ui/internal/catalog/XMLCatalogTreeViewer.java @@ -177,7 +177,7 @@ public class XMLCatalogTreeViewer extends TreeViewer { List nextCatalogsList = Arrays.asList(nextCatalogs); result.addAll(nextCatalogsList); - return (ICatalogElement[]) result.toArray(new ICatalogElement[result.size()]); + return result.toArray(new ICatalogElement[result.size()]); } public Object getParent(Object element) { |