Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hallgren2009-12-29 18:15:06 +0000
committerThomas Hallgren2009-12-29 18:15:06 +0000
commit92330f9312c0e8a122cf1e66a71bd9a4e0573034 (patch)
treea9306b7b627ece6b6c7e6858508b42961a707d6d
parent4a2fb1a7b3cb71832fc296955ab780c614ed7290 (diff)
downloadrt.equinox.p2-92330f9312c0e8a122cf1e66a71bd9a4e0573034.tar.gz
rt.equinox.p2-92330f9312c0e8a122cf1e66a71bd9a4e0573034.tar.xz
rt.equinox.p2-92330f9312c0e8a122cf1e66a71bd9a4e0573034.zip
Fixed typo
-rw-r--r--bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallUpdateProductOperation.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
index 1c8d615e7..22d3b83c4 100644
--- a/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
+++ b/bundles/org.eclipse.equinox.p2.garbagecollector/src/org/eclipse/equinox/internal/p2/garbagecollector/CoreGarbageCollector.java
@@ -40,7 +40,7 @@ public class CoreGarbageCollector {
}
};
IQueryResult<IArtifactKey> inactive = aRepository.query(query, null);
- for (Iterator<IArtifactKey> iterator = inactive.iteratorX(); iterator.hasNext();) {
+ for (Iterator<IArtifactKey> iterator = inactive.iterator(); iterator.hasNext();) {
IArtifactKey key = iterator.next();
aRepository.removeDescriptor(key);
if (debugMode) {
diff --git a/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallUpdateProductOperation.java b/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallUpdateProductOperation.java
index 654355ded..7a1c1d10a 100644
--- a/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallUpdateProductOperation.java
+++ b/bundles/org.eclipse.equinox.p2.installer/src/org/eclipse/equinox/internal/p2/installer/InstallUpdateProductOperation.java
@@ -154,7 +154,7 @@ public class InstallUpdateProductOperation implements IInstallOperation {
if (version != null && !version.equals(Version.emptyVersion))
range = new VersionRange(version, true, version, true);
IQuery<IInstallableUnit> query = new InstallableUnitQuery(id, range);
- Iterator<IInstallableUnit> matches = metadataRepoMan.query(query, null).iteratorX();
+ Iterator<IInstallableUnit> matches = metadataRepoMan.query(query, null).iterator();
// pick the newest match
IInstallableUnit newest = null;
while (matches.hasNext()) {

Back to the top