From: Chad B. <cwb...@us...> - 2008-05-28 17:23:24
|
User: cwbrandon Date: 08/05/28 10:23:31 Modified: andromda-jsf2/src/main/resources/templates/jsf2/utils MessagePhaseListener.java.vsl Log: cleanup some warnings Revision Changes Path 1.6 +1 -2 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/utils/MessagePhaseListener.java.vsl Index: MessagePhaseListener.java.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/utils/MessagePhaseListener.java.vsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -w -r1.5 -r1.6 --- MessagePhaseListener.java.vsl 15 May 2008 14:19:34 -0000 1.5 +++ MessagePhaseListener.java.vsl 28 May 2008 17:23:26 -0000 1.6 @@ -69,8 +69,7 @@ { javax.faces.context.FacesContext.getCurrentInstance().addMessage(null, (javax.faces.application.FacesMessage)iterator.next()); } - final java.lang.reflect.Method method = form.getClass().getMethod("clearJsfMessages",null); - method.invoke(form,null); + form.getClass().getMethod("clearJsfMessages", (Class[])null).invoke(form, (Object[])null); } } catch (final Exception exception) |