[ http://issues.apache.org/jira/browse/ADFFACES-203?page=comments#action_12438164 ] Matthias Weßendorf commented on ADFFACES-203: ---------------------------------------------
from Simon's email Hello all, Currently that method requires a string array and it's kind of annoying to use because of that. Java 5 offers varargs that would make its usage much more interesting imho. So I would like to merge both renderStyleClasses in a single one using the following signature: public static void renderStyleClasses(FacesContext context, RenderingContext arc, String... styleClasses); Backward compatiblity should be kept as varargs allow both array and sequence of arguments to be passed. Any objection? > overhaul CoreRenderer.renderStyleClasses() for usage with String[] of size 1 > ---------------------------------------------------------------------------- > > Key: ADFFACES-203 > URL: http://issues.apache.org/jira/browse/ADFFACES-203 > Project: MyFaces ADF-Faces > Issue Type: Improvement > Reporter: Matthias Weßendorf > Assigned To: Matthias Weßendorf > Priority: Minor > Attachments: patch203.patch > > > Ensure an efficient algor. for usage of renderStyleClasses() w/ an array of > size one. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
