commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r753651 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java
Date Sat, 14 Mar 2009 13:17:51 GMT
Author: sebb
Date: Sat Mar 14 13:17:50 2009
New Revision: 753651

URL: http://svn.apache.org/viewvc?rev=753651&view=rev
Log:
Cast null for calling invoke() [Eclipse]

Modified:
    commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java

Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java?rev=753651&r1=753650&r2=753651&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/reflect/MemberUtils.java Sat
Mar 14 13:17:50 2009
@@ -111,7 +111,7 @@
     static boolean isSynthetic(Member m) {
         if (IS_SYNTHETIC != null) {
             try {
-                return ((Boolean) IS_SYNTHETIC.invoke(m, null)).booleanValue();
+                return ((Boolean) IS_SYNTHETIC.invoke(m, (Object[]) null)).booleanValue();
             } catch (Exception e) {
             }
         }



Mime
View raw message