Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Houghton2011-04-25 13:03:36 +0000
committerDJ Houghton2011-04-25 13:03:36 +0000
commit7735e74ce972cc879d8f8f69f714ba9c06c5bdc6 (patch)
treee811a7428773f37dcc7b51ba29e97ae93ab44a12 /bundles/org.eclipse.equinox.p2.operations
parent50c63c7713e50cab43ccc64e92824b4b67496282 (diff)
downloadrt.equinox.p2-7735e74ce972cc879d8f8f69f714ba9c06c5bdc6.tar.gz
rt.equinox.p2-7735e74ce972cc879d8f8f69f714ba9c06c5bdc6.tar.xz
rt.equinox.p2-7735e74ce972cc879d8f8f69f714ba9c06c5bdc6.zip
Update javadoc.v20110425-0900
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.operations')
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/InstallOperation.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/OperationFactory.java5
-rw-r--r--bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java7
3 files changed, 9 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/InstallOperation.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/InstallOperation.java
index b87fddd61..d1dbff919 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/InstallOperation.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/InstallOperation.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009, 2010 IBM Corporation and others.
+ * Copyright (c) 2009, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/OperationFactory.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/OperationFactory.java
index ef6358730..2cb8872c5 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/OperationFactory.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/OperationFactory.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Sonatype, Inc. - initial API and implementation
+ * IBM Corporation - Ongoing development
*******************************************************************************/
package org.eclipse.equinox.p2.operations;
@@ -64,8 +65,10 @@ public class OperationFactory {
Iterator<IInstallableUnit> iuIt = matches.iterator();
unitsToInstall.add(iuIt.next());
- if (iuIt.hasNext())
+ if (iuIt.hasNext()) {
+ // TODO
System.out.println("Log the fact that we have a problem");
+ }
}
return unitsToInstall;
}
diff --git a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java
index 4a34211f2..7b12cad53 100644
--- a/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java
+++ b/bundles/org.eclipse.equinox.p2.operations/src/org/eclipse/equinox/p2/operations/SynchronizeOperation.java
@@ -7,6 +7,7 @@
*
* Contributors:
* Sonatype, Inc. - initial API and implementation
+ * IBM Corporation - Ongoing development
*******************************************************************************/
package org.eclipse.equinox.p2.operations;
@@ -23,13 +24,13 @@ import org.eclipse.equinox.p2.query.QueryUtil;
/**
* A {@link SynchronizeOperation} describes an operation that will modify the installation to
* exclusively include the InstallableUnit mentioned. Note that all the Installable Units necessary
- * to satisfy the dependencies of the Installable Units installed will also be installed.
+ * to satisfy the dependencies of the Installable Units installed will also be installed.
*
- * The following snippet shows how one might use an AbsoluteInstallOperation to perform a synchronous resolution and
+ * The following snippet shows how one might use an SynchronizeOperation to perform a synchronous resolution and
* then kick off an install in the background:
*
* <pre>
- * AbsoluteInstallOperation op = new AbsoluteInstallOperation(session, new IInstallableUnit [] { myIU });
+ * SynchronizeOperation op = new SynchronizeOperation(session, new IInstallableUnit [] { myIU });
* IStatus result = op.resolveModal(monitor);
* if (result.isOK()) {
* op.getProvisioningJob(monitor).schedule();

Back to the top