Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2010-03-29 20:24:47 +0000
committerDJ Houghton2010-03-29 20:24:47 +0000
commit6f4d673ba528884957dfabe1ecdee0c7ef4aa46c (patch)
treefe916516463ad44e4f57ec7aee558e194bf6ad5c
parenta7fa2acc8323ed246c943297f731e5a336ffe020 (diff)
downloadrt.equinox.p2-6f4d673ba528884957dfabe1ecdee0c7ef4aa46c.tar.gz
rt.equinox.p2-6f4d673ba528884957dfabe1ecdee0c7ef4aa46c.tar.xz
rt.equinox.p2-6f4d673ba528884957dfabe1ecdee0c7ef4aa46c.zip
Fixed code to remove Java 1.5 references.R34x_v20100329
-rw-r--r--bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector2.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector2.java b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector2.java
index 86ac7beea..3a86fbede 100644
--- a/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector2.java
+++ b/bundles/org.eclipse.equinox.p2.director/src/org/eclipse/equinox/internal/p2/director/Projector2.java
@@ -655,7 +655,7 @@ public class Projector2 implements IProjector {
private void createAtMostOne(PropositionalVariable[] vars) throws ContradictionException {
if (DEBUG) {
- Tracing.debug("At most 1 of " + Arrays.toString(vars)); //$NON-NLS-1$
+ Tracing.debug("At most 1 of " + Arrays.asList(vars)); //$NON-NLS-1$
}
IInstallableUnit[] ius = new IInstallableUnit[vars.length];
int i = 0;
@@ -668,7 +668,7 @@ public class Projector2 implements IProjector {
private void createIncompatibleValues(PropositionalVariable v1, PropositionalVariable v2) throws ContradictionException {
PropositionalVariable[] vars = {v1, v2};
if (DEBUG) {
- Tracing.debug("At most 1 of " + Arrays.toString(vars)); //$NON-NLS-1$
+ Tracing.debug("At most 1 of " + Arrays.asList(vars)); //$NON-NLS-1$
}
dependencyHelper.atMost(1, vars).named(Explanation.OPTIONAL_REQUIREMENT);
}

Back to the top