From 6c2ce661d9767988550bbb41f6542b94f2e74fe8 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Sat, 14 Mar 2009 13:17:50 +0000 Subject: [PATCH] Cast null for calling invoke() [Eclipse] git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@753651 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/reflect/MemberUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/reflect/MemberUtils.java b/src/java/org/apache/commons/lang/reflect/MemberUtils.java index fc87c43a9..2bafdba79 100644 --- a/src/java/org/apache/commons/lang/reflect/MemberUtils.java +++ b/src/java/org/apache/commons/lang/reflect/MemberUtils.java @@ -111,7 +111,7 @@ abstract class MemberUtils { 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) { } }