Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2009-03-31 18:17:05 +0000
committerSimon Kaegi2009-03-31 18:17:05 +0000
commit0a35d8b1a899dac25e797932e01d271cc6da1ac0 (patch)
treee56de1384a3d3c557e34b9a9e0711e0eff8ed77c
parentc8012a9236e5ac78e99eb0c70b592ccd2345c2c8 (diff)
downloadrt.equinox.p2-0a35d8b1a899dac25e797932e01d271cc6da1ac0.tar.gz
rt.equinox.p2-0a35d8b1a899dac25e797932e01d271cc6da1ac0.tar.xz
rt.equinox.p2-0a35d8b1a899dac25e797932e01d271cc6da1ac0.zip
Bug 270649 Compiler warnings in I20090331-0901
-rw-r--r--bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/UpdateSite.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/UpdateSite.java b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/UpdateSite.java
index df950e5e8..4ca1be6bc 100644
--- a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/UpdateSite.java
+++ b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/UpdateSite.java
@@ -161,7 +161,7 @@ public class UpdateSite {
// TODO: ? Tests dictate that REPOSITORY_NOT_FOUND is the correct response to
// issues like "unknown host", "malformed url" - it is almost impossible to differentiate
// between "not found" and "error while reading something found" at this point.
- int code = transferResult.getCode();
+ // int code = transferResult.getCode();
MultiStatus ms = new MultiStatus(Activator.ID, //
ProvisionException.REPOSITORY_NOT_FOUND,
// (code == ProvisionException.ARTIFACT_NOT_FOUND || code == ProvisionException.REPOSITORY_NOT_FOUND ? ProvisionException.REPOSITORY_NOT_FOUND : ProvisionException.REPOSITORY_FAILED_READ), //

Back to the top