[ http://jira.andromda.org/browse/BPM-288?page=comments#action_13724 ]
Wouter Zoons commented on BPM-288: ---------------------------------- apparently you have upgraded your struts library or something, unless I am missing something getting rid of the null argument would break compatibility with earlier struts releases .. thoughts ? > using checkboxes produces code with warnings > -------------------------------------------- > > Key: BPM-288 > URL: http://jira.andromda.org/browse/BPM-288 > Project: Bpm4Struts Cartridge > Type: Bug > Versions: 3.2-RC1 > Environment: Java 1.5 > Reporter: Stefan Bachert > Assignee: Wouter Zoons > Priority: Minor > > I (have) got unnecessary warnings > ...FormImpl.java:831: warning: non-v > arargs call of varargs method with inexact argument type for last parameter; > cast to java.lang.Class for a varargs call > cast to java.lang.Class[] for a non-varargs call and to suppress this warning > resetMethods.put("resetStart", > currentFormClass.getMethod("r > esetStart", null)); > ^ > ...FormImpl.java:836: warning: non-v > arargs call of varargs method with inexact argument type for last parameter; > cast to java.lang.Object for a varargs call > cast to java.lang.Object[] for a non-varargs call and to suppress this warning > method.invoke(currentForm, null); > ^ > The cause is in "macros/populateCurrentFormOnError.vm" > Just remove ", null" and the warnings disappear. > However, I did not check whether other releases of Java may work after this > changes. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.andromda.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV