You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2006/07/12 19:09:40 UTC

svn commit: r421324 - /myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java

Author: mmarinschek
Date: Wed Jul 12 10:09:40 2006
New Revision: 421324

URL: http://svn.apache.org/viewvc?rev=421324&view=rev
Log:
error message refined

Modified:
    myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java

Modified: myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java?rev=421324&r1=421323&r2=421324&view=diff
==============================================================================
--- myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java (original)
+++ myfaces/core/trunk/impl/src/main/java/org/apache/myfaces/el/PropertyResolverImpl.java Wed Jul 12 10:09:40 2006
@@ -415,8 +415,9 @@
     {
         return "Bean: "
             + base.getClass().getName() + ", property: " + name +", newValue: "+(newValue==null?" null ":newValue)+
-                ",newValue class: "+(newValue==null?" null ":newValue.getClass().getName())+"method parameter class: "
-                +(m.getParameterTypes().length>0?m.getParameterTypes()[0].getName():"null");
+                ",newValue class: "+(newValue==null?" null ":newValue.getClass().getName())+" method parameter class: "
+                +((m.getParameterTypes()!=null&&m.getParameterTypes().length>0)
+                    ?m.getParameterTypes()[0].getName():"null");
 
     }