Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2008-04-23 17:05:51 -0400
committerDJ Houghton2008-04-23 17:05:51 -0400
commit967f1ba280215e57561c375d22dd77be27d5b409 (patch)
tree0de35c7324628262be226881d9d0024e0cb10f8f /bundles
parentf7cc4b9ab0568b59ee7d8e1e3056845957c936b4 (diff)
downloadrt.equinox.p2-967f1ba280215e57561c375d22dd77be27d5b409.tar.gz
rt.equinox.p2-967f1ba280215e57561c375d22dd77be27d5b409.tar.xz
rt.equinox.p2-967f1ba280215e57561c375d22dd77be27d5b409.zip
Bug 222567 - Site policy filtering code needs to move to the extension location repositories
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationMetadataRepository.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationMetadataRepository.java b/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationMetadataRepository.java
index eeca915c4..b1ef5d9d8 100644
--- a/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationMetadataRepository.java
+++ b/bundles/org.eclipse.equinox.p2.extensionlocation/src/org/eclipse/equinox/internal/p2/extensionlocation/ExtensionLocationMetadataRepository.java
@@ -60,9 +60,8 @@ public class ExtensionLocationMetadataRepository extends AbstractMetadataReposit
DirectoryChangeListener listener = new RepositoryListener(context, metadataRepository, null);
if (location.getPath().endsWith(POOLED))
listener = new BundlePoolFilteredListener(listener);
- // TODO this is the line which will enable platform.xml site policy filtering
- // if (site != null)
- // listener = new SiteListener(site, listener);
+ if (site != null)
+ listener = new SiteListener(site, listener);
watcher.addListener(listener);
watcher.poll();

Back to the top