Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSusan Franklin2009-02-26 19:15:16 -0500
committerSusan Franklin2009-02-26 19:15:16 -0500
commitddfcf709dd52c09e945de24ab71b66a349a0feac (patch)
tree27bfa9d79d55d1cfa18077dc160f7bcf8e13971a
parenta733c5480f81f14c46853e56829554667c02a47c (diff)
downloadrt.equinox.p2-ddfcf709dd52c09e945de24ab71b66a349a0feac.tar.gz
rt.equinox.p2-ddfcf709dd52c09e945de24ab71b66a349a0feac.tar.xz
rt.equinox.p2-ddfcf709dd52c09e945de24ab71b66a349a0feac.zip
Bug 259208 - [ui] update checker should log when sites are not loaded
-rw-r--r--bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java b/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java
index 60413a152..80869f0dc 100644
--- a/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java
+++ b/bundles/org.eclipse.equinox.p2.updatechecker/src/org/eclipse/equinox/internal/p2/updatechecker/UpdateChecker.java
@@ -10,8 +10,6 @@
*******************************************************************************/
package org.eclipse.equinox.internal.p2.updatechecker;
-import org.eclipse.equinox.internal.provisional.p2.updatechecker.*;
-
import java.net.URI;
import java.text.SimpleDateFormat;
import java.util.*;
@@ -27,6 +25,7 @@ import org.eclipse.equinox.internal.provisional.p2.metadata.query.InstallableUni
import org.eclipse.equinox.internal.provisional.p2.metadata.repository.IMetadataRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.query.Collector;
import org.eclipse.equinox.internal.provisional.p2.query.Query;
+import org.eclipse.equinox.internal.provisional.p2.updatechecker.*;
/**
* Default implementation of {@link IUpdateChecker}.
@@ -145,7 +144,7 @@ public class UpdateChecker implements IUpdateChecker {
repoMgr.loadRepository(repositories[i], null);
available.add(repositories[i]);
} catch (ProvisionException e) {
- //ignore unavailable repository
+ LogHelper.log(e.getStatus());
}
}
return (URI[]) available.toArray(new URI[available.size()]);

Back to the top