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 Assigned to: 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 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642