diff --git a/base/src/org/compiere/model/Query.java b/base/src/org/compiere/model/Query.java index 20fdf9e9f4..fd767e7b02 100644 --- a/base/src/org/compiere/model/Query.java +++ b/base/src/org/compiere/model/Query.java @@ -126,21 +126,12 @@ public class Query * Set query parameters * @param parameters */ - public Query setParameters(Object[] parameters) + public Query setParameters(Object ...parameters) { this.parameters = parameters; return this; } - /** - * Set query parameters (one integer) - * @int_param integer parameter - */ - public Query setParameters(int int_param) { - this.parameters = new Object[]{int_param}; - return this; - } - /** * Set query parameters * @param parameters collection of parameters