[ http://team.andromda.org:8080/jira/browse/BPM-95?page=comments#action_10390 ] Wouter Zoons commented on BPM-95: ---------------------------------
good point Martin, I will add an OCL constraint for that on the bpm4struts meta-model, that way you'll see a message that the cartridge doesn't like it when you have two operations with the same name > Duplicate method name on controller impl > ---------------------------------------- > > Key: BPM-95 > URL: http://team.andromda.org:8080/jira/browse/BPM-95 > Project: Bpm4Struts Cartridge > Type: Bug > Reporter: Martin West > Assignee: Wouter Zoons > Priority: Minor > > > If you define two methods with the same name but different parameters on a usecase > controller class the controllerImpl generated has duplicate method names... > ... > already defined in > net.starmap.obrien.management.gen.preferences.PreferencesControllerImpl > [javac] public final void updatePreferences(ActionMapping mapping, > net.starmap.obrien.management.gen.preferences.UpdatePreferencesForm form, > HttpServletRequest request, HttpServletResponse response) throws Exception > [javac] ^ > You could either just generate one and/or issue a warning. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://team.andromda.org:8080/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
