[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: MethodInvocation.getArguments return value for 0 argumen

scott.stark@jboss.org do-not-reply at jboss.com
Fri Mar 23 19:08:51 EDT 2007


I would just make the check more robust:


  |       if (mi.getArguments() != null && mi.getArguments().length() == 1)
  |       {
  |          jbm.setText(mi.getArguments()[0].toString());
  |       }
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031244#4031244

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031244



More information about the jboss-dev-forums mailing list