Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2012-02-16 17:36:50 +0000
committerIan Bull2012-02-16 17:36:50 +0000
commitbb00e45ec27dedb09d69ac0c7735b0a1048642ba (patch)
treeaee6ef04b3a87f89c024b307d85a38dfccc85c8a
parent46eb5d94fff77e8d2814d9c2be3c6de5f57b232d (diff)
downloadrt.equinox.p2-bb00e45ec27dedb09d69ac0c7735b0a1048642ba.tar.gz
rt.equinox.p2-bb00e45ec27dedb09d69ac0c7735b0a1048642ba.tar.xz
rt.equinox.p2-bb00e45ec27dedb09d69ac0c7735b0a1048642ba.zip
Bug 371566 - test failure in I20120214-0800
We had an over-protective null check. In fact, we want the null selector to be set.
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/MirrorRequestTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/MirrorRequestTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/MirrorRequestTest.java
index cc43a3a2a..43263df1c 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/MirrorRequestTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/artifact/repository/MirrorRequestTest.java
@@ -344,7 +344,7 @@ public class MirrorRequestTest extends AbstractProvisioningTest {
// Clear the mirror selector we place on the repository
public void clearSelector() {
- if (repo == null || oldSelector == null) {
+ if (repo == null) {
return;
}
repo.setProperty(SimpleArtifactRepository.PROP_FORCE_THREADING, String.valueOf(false));

Back to the top