[Fb-contrib-commit] SF.net SVN: fb-contrib:[1501] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-01-19 01:36:03
|
Revision: 1501
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1501&view=rev
Author: dbrosius
Date: 2010-01-19 01:35:57 +0000 (Tue, 19 Jan 2010)
Log Message:
-----------
support null (as new Class[0]) for getMethod parms
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java 2010-01-19 01:27:35 UTC (rev 1500)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java 2010-01-19 01:35:57 UTC (rev 1501)
@@ -179,7 +179,7 @@
if (methodName != null) {
String reflectionSig = buildReflectionSignature(methodName, arrayTypes);
if (objectSigs.contains(reflectionSig)) {
- loadedTypes = arrayTypes;
+ loadedTypes = (arrayTypes == null) ? new String[0] : arrayTypes;
}
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|