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
This commit is contained in:
parent
63f03f356c
commit
6c2ce661d9
|
@ -111,7 +111,7 @@ abstract class MemberUtils {
|
||||||
static boolean isSynthetic(Member m) {
|
static boolean isSynthetic(Member m) {
|
||||||
if (IS_SYNTHETIC != null) {
|
if (IS_SYNTHETIC != null) {
|
||||||
try {
|
try {
|
||||||
return ((Boolean) IS_SYNTHETIC.invoke(m, null)).booleanValue();
|
return ((Boolean) IS_SYNTHETIC.invoke(m, (Object[]) null)).booleanValue();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue