Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-01-16 05:51:13 +0000
committerIan Bull2013-01-16 05:51:13 +0000
commitdf783ddd2a409f741110210442cfcf0867e23e71 (patch)
treeb1d1f9f066dfe0e81ca61d3f7d79d65f4f3ed3d3
parent953077b414ff4d6b9a54cc3daa49669cca811c5a (diff)
downloadrt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.tar.gz
rt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.tar.xz
rt.equinox.p2-df783ddd2a409f741110210442cfcf0867e23e71.zip
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 451cfc74b..a478e683f 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();
}

Back to the top