Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2009-12-08 21:31:42 +0000
committerJohn Arthorne2009-12-08 21:31:42 +0000
commit25d1a191fb5f386d2b82d3e4865ddaf150fdf8c1 (patch)
tree898e6d299febea67ff465b97888fe5f3696780ff
parentd28c86f2a6878929a959c020aa3a89d1fd2f984d (diff)
downloadrt.equinox.p2-25d1a191fb5f386d2b82d3e4865ddaf150fdf8c1.tar.gz
rt.equinox.p2-25d1a191fb5f386d2b82d3e4865ddaf150fdf8c1.tar.xz
rt.equinox.p2-25d1a191fb5f386d2b82d3e4865ddaf150fdf8c1.zip
updated javadoc
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java9
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRepository.java4
2 files changed, 6 insertions, 7 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
index f14927c11..cc53eacc5 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/helpers/AbstractRepositoryManager.java
@@ -1046,12 +1046,12 @@ public abstract class AbstractRepositoryManager implements IRepositoryManager, P
}
/**
- * Performs a query against all of the installable units of each known
+ * Performs a query against the contents of each known
* repository, accumulating any objects that satisfy the query in the
* provided collector.
* <p>
* Note that using this method can be quite expensive, as every known
- * metadata repository will be loaded in order to query each one. If a
+ * repository will be loaded in order to query each one. If a
* client wishes to query only certain repositories, it is better to use
* {@link #getKnownRepositories(int)} to filter the list of repositories
* loaded and then query each of the returned repositories.
@@ -1059,11 +1059,10 @@ public abstract class AbstractRepositoryManager implements IRepositoryManager, P
* This method is long-running; progress and cancellation are provided
* by the given progress monitor.
*
- * @param query The query to perform against each installable unit in each known repository
- * @param collector Collects the results of the query
+ * @param query The query to perform against each element in each known repository
* @param monitor a progress monitor, or <code>null</code> if progress
* reporting is not desired
- * @return The collector argument
+ * @return A collector containing the results of the query
*/
public Collector query(IQuery query, IProgressMonitor monitor) {
Collector collector = new Collector();
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRepository.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRepository.java
index 00fbf7144..045373537 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/p2/repository/artifact/IArtifactRepository.java
@@ -32,13 +32,13 @@ public interface IArtifactRepository extends IRepository {
/**
* See {@link IQuery#getProperty(String)}. A query should implement "getExcludeArtifactKeys" returning
- * Boolean.TRUE to indicate that it is not interested in IArtifactKeys
+ * Boolean.TRUE to indicate that it is not interested in {@link IArtifactKey}s.
*/
public static final String QUERY_EXCLUDE_KEYS = "ExcludeArtifactKeys"; //$NON-NLS-1$
/**
* See {@link IQuery#getProperty(String)}. A query should implement "getExcludeArtifactDescriptors" returning
- * Boolean.TRUE to indicate that it is not interested in IArtifactKeys
+ * Boolean.TRUE to indicate that it is not interested in {@link IArtifactDescriptor}s.
*/
public static final String QUERY_EXCLUDE_DESCRIPTORS = "ExcludeArtifactDescriptors"; //$NON-NLS-1$

Back to the top