https://bz.apache.org/bugzilla/show_bug.cgi?id=69429

--- Comment #2 from Paolo B. <pi...@tiscali.it> ---

At this point, why not optimize everything?


public Object[] getParameters(EvaluationContext ctx) {
  int numChildren = this.jjtGetNumChildren();
  if (numChildren == 0) {
    return EMPTY_PARAMS;
  }
  Object[] params = new Object[numChildren];

  for (int i = 0; i < numChildren; i++) {
    params[i] = this.jjtGetChild(i).getValue(ctx);
  }
  return params;
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to