Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-01-06 20:46:34 +0000
committerJohn Arthorne2010-01-06 20:46:34 +0000
commitc9e612548e8f946afbec96c3433ebf5fa399d050 (patch)
treefe0b6c91cf3cf7dd8eb6d3fd31fb7088d91b848c
parenteffe29fb6c7ea3f258968f8bf0d58c44227714ed (diff)
downloadrt.equinox.p2-c9e612548e8f946afbec96c3433ebf5fa399d050.tar.gz
rt.equinox.p2-c9e612548e8f946afbec96c3433ebf5fa399d050.tar.xz
rt.equinox.p2-c9e612548e8f946afbec96c3433ebf5fa399d050.zip
fixed javadoc
-rw-r--r--bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IContextExpression.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IEvaluationContext.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLContextQuery.java3
-rw-r--r--bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLMatchQuery.java8
4 files changed, 10 insertions, 13 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IContextExpression.java b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IContextExpression.java
index 027e39644..0b894cc92 100644
--- a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IContextExpression.java
+++ b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IContextExpression.java
@@ -29,8 +29,7 @@ public interface IContextExpression<T> extends IExpression {
* the <code>everything</code> iterator filtered for instances of <code>elementClass</code>.</p>
* <p>The values of the iterator will be copied if necessary (when everything is referenced
* more then once).</p>
- * @param elementClass The class of the elements to extract from <code>everything</code>
- * @param iterator The iterator that represents all queried material.
+ * @param everything The iterator that represents all queried material.
* @param params The parameters to use for the evaluation.
* @return A new evaluation context.
*/
@@ -42,8 +41,7 @@ public interface IContextExpression<T> extends IExpression {
* the <code>everything</code> iterator filtered for instances of <code>elementClass</code>.</p>
* <p>The values of the iterator will be copied if necessary (when everything is referenced
* more then once).</p>
- * @param elementClass The class of the elements to extract from <code>everything</code>
- * @param iterator The iterator that represents all queried material.
+ * @param everything The iterator that represents all queried material.
* @param params The parameters to use for the evaluation.
* @param translations A translation support object to be assigned to the variable 'translations'
* @return A new evaluation context.
diff --git a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IEvaluationContext.java b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IEvaluationContext.java
index 4f154b88c..efde9f3f4 100644
--- a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IEvaluationContext.java
+++ b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/IEvaluationContext.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 Cloudsmith Inc. and others.
+ * Copyright (c) 2009, 2010 Cloudsmith Inc. 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
@@ -14,7 +14,7 @@ package org.eclipse.equinox.p2.ql;
* The evaluation context. Contexts can be nested and new contexts are pushed for each closure
* during an evaluation of an expression.
* @see IMatchExpression#createContext(Object[])
- * @see IContextExpression#createContext(Class, java.util.Iterator, Object[])
+ * @see IContextExpression#createContext(java.util.Iterator, Object[])
*/
public interface IEvaluationContext {
/**
@@ -40,7 +40,7 @@ public interface IEvaluationContext {
/**
* Returns the value of the parameter at the given <code>key</code>
- * @param position The key for the parameter
+ * @param key The key for the parameter
* @return The parameter value
*/
Object getParameter(String key);
diff --git a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLContextQuery.java b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLContextQuery.java
index d2cd897d1..1a33d8c0e 100644
--- a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLContextQuery.java
+++ b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLContextQuery.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 Cloudsmith Inc. and others.
+ * Copyright (c) 2009, 2010 Cloudsmith Inc. 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
@@ -21,7 +21,6 @@ public class QLContextQuery<T> extends QLQuery<T> {
/**
* Creates a new query instance with indexed parameters.
- * @param elementClass The class used for filtering elements in 'everything'
* @param expression The expression that represents the query.
* @param parameters Parameters to use for the query.
*/
diff --git a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLMatchQuery.java b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLMatchQuery.java
index 132db147e..47078b39e 100644
--- a/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLMatchQuery.java
+++ b/bundles/org.eclipse.equinox.p2.ql/src/org/eclipse/equinox/p2/ql/QLMatchQuery.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2009 Cloudsmith Inc. and others.
+ * Copyright (c) 2009, 2010 Cloudsmith Inc. 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
@@ -24,7 +24,7 @@ public class QLMatchQuery<T> extends QLQuery<T> implements IMatchQuery<T> {
/**
* Creates a new query instance with indexed parameters.
- * @param elementClass The class used for filtering elements before calling {@link #isMatch(Object)}
+ * @param instanceClass The class used for filtering elements before calling {@link #isMatch(Object)}
* @param expression The expression that represents the query.
* @param parameters Parameters to use for the query.
*/
@@ -35,11 +35,11 @@ public class QLMatchQuery<T> extends QLQuery<T> implements IMatchQuery<T> {
/**
* Creates a new query instance with indexed parameters.
- * @param elementClass The class used for filtering elements before calling {@link #isMatch(Object)}
+ * @param instanceClass The class used for filtering elements before calling {@link #isMatch(Object)}
* @param expression The expression that represents the query.
* @param parameters Parameters to use for the query.
*/
- public QLMatchQuery(Class<T> instanceClass, String expression, Object ...parameters) {
+ public QLMatchQuery(Class<T> instanceClass, String expression, Object... parameters) {
this(instanceClass, parser.parsePredicate(expression), parameters);
}

Back to the top