summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-01-16 00:51:13 (EST)
committerIan Bull2013-01-16 00:51:13 (EST)
commitdf783ddd2a409f741110210442cfcf0867e23e71 (patch)
treeb1d1f9f066dfe0e81ca61d3f7d79d65f4f3ed3d3
parent953077b414ff4d6b9a54cc3daa49669cca811c5a (diff)
downloadrt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.zip
rt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.tar.gz
rt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.tar.bz2
Revert "Bug 384646: Improves the performance of the install software filter."v20130116-055113
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
index 451cfc7..a478e68 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
@@ -66,10 +66,6 @@ public abstract class QueriedElement extends ProvElement {
}
public Object[] getChildren(Object o) {
- Object[] cache = getCachedChildren();
- if (cache.length > 0) {
- return getCachedChildren();
- }
return fetchChildren(o, new NullProgressMonitor());
}
@@ -163,9 +159,6 @@ public abstract class QueriedElement extends ProvElement {
}
public Object[] getCachedChildren() {
- if (cachedChildren == null) {
- return new Object[0];
- }
return cachedChildren.toArray();
}