Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java')
-rw-r--r--bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java
index e7028fb73..e8ab7a2fd 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/planner/Bug301446.java
@@ -61,8 +61,7 @@ public class Bug301446 extends AbstractPlannerTest {
// this is the plan that we expect - highest version only
Operand[] operands = ((ProvisioningPlan) actualPlan).getOperands();
- for (int i = 0; i < operands.length; i++) {
- Operand o = operands[i];
+ for (Operand o : operands) {
if (!(o instanceof InstallableUnitOperand))
continue;
IInstallableUnit iu = ((InstallableUnitOperand) o).second();

Back to the top