Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2008-12-22 17:55:17 +0000
committerPascal Rapicault2008-12-22 17:55:17 +0000
commite622d00432411a1497aeef7e8fe2d7b2350abb43 (patch)
treede8feaff3b592bab4ca9d4f41ebbfe5d9bdb1601 /bundles/org.eclipse.equinox.p2.director
parent6015a8a074176483727d1ca929eebb590ea26039 (diff)
downloadrt.equinox.p2-e622d00432411a1497aeef7e8fe2d7b2350abb43.tar.gz
rt.equinox.p2-e622d00432411a1497aeef7e8fe2d7b2350abb43.tar.xz
rt.equinox.p2-e622d00432411a1497aeef7e8fe2d7b2350abb43.zip
Remove dead code
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.director')
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/PatchingIU.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/PatchingIU.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/PatchingIU.java
deleted file mode 100644
index 24d78c094..000000000
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/PatchingIU.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- *Copyright (c) 2008 IBM Corporation and others.
- *All rights reserved. This program and the accompanying materials
- *are made available under the terms of the Eclipse Public License v1.0
- *which accompanies this distribution, and is available at
- *http://www.eclipse.org/legal/epl-v10.html
- *
- *Contributors:
- * IBM Corporation - initial API and implementation
- *******************************************************************************/
-package org.eclipse.equinox.internal.p2.director;
-
-import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit;
-import org.eclipse.equinox.internal.provisional.p2.metadata.RequiredCapability;
-import org.eclipse.equinox.internal.provisional.p2.query.Query;
-
-public class PatchingIU extends Query {
-
- public PatchingIU(RequiredCapability req) {
- }
-
- public boolean isMatch(Object candidate) {
- if (!(candidate instanceof IInstallableUnit))
- return false;
-
- IInstallableUnit iu = (IInstallableUnit) candidate;
- if (iu.getProperty("patch").equals("true"))
- return true;
- return hasApplicablePatch(iu);
- }
-
- private boolean hasApplicablePatch(IInstallableUnit iu) {
- //iu.getPatches
- return true;
- }
-}

Back to the top