Author: wsmoak Date: Sun Oct 2 20:46:28 2005 New Revision: 293224 URL: http://svn.apache.org/viewcvs?rev=293224&view=rev Log: Removed unnecessary parameter from method call. Reported by Tamas Szabo.
Modified: struts/core/trunk/xdocs/faqs/indexedprops.xml Modified: struts/core/trunk/xdocs/faqs/indexedprops.xml URL: http://svn.apache.org/viewcvs/struts/core/trunk/xdocs/faqs/indexedprops.xml?rev=293224&r1=293223&r2=293224&view=diff ============================================================================== --- struts/core/trunk/xdocs/faqs/indexedprops.xml (original) +++ struts/core/trunk/xdocs/faqs/indexedprops.xml Sun Oct 2 20:46:28 2005 @@ -96,7 +96,7 @@ public class StringBean2 extends ActionForm { private String strAry[] = { "String 0", "String 1", "String 2", "String 3", "String 4" }; - public java.util.List getStringIndexed(int index) { + public java.util.List getStringIndexed() { return java.util.Arrays.asList(strAry); } }</pre> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]