[Fb-contrib-commit] SF.net SVN: fb-contrib:[1505] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-01-23 12:43:09
|
Revision: 1505
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1505&view=rev
Author: dbrosius
Date: 2010-01-23 12:17:32 +0000 (Sat, 23 Jan 2010)
Log Message:
-----------
guard against NPEs
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 02:08:47 UTC (rev 1504)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/ReflectionOnObjectMethods.java 2010-01-23 12:17:32 UTC (rev 1505)
@@ -276,6 +276,8 @@
for (int i = 0; i < parmTypes.length; i++) {
sb.append("L");
String type = parmTypes[i];
+ if (type == null)
+ return "";
sb.append(type);
if ((type.length() > 1) || ("IJ".indexOf(type) < 0))
sb.append(";");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|