[Fb-contrib-commit] SF.net SVN: fb-contrib: [433] trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/det
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-04-09 22:58:38
|
Revision: 433 Author: dbrosius Date: 2006-04-09 15:58:33 -0700 (Sun, 09 Apr 2006) ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=433&view=rev Log Message: ----------- fix the npe guard, right Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonRecycleableTaglibs.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonRecycleableTaglibs.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonRecycleableTaglibs.java 2006-04-09 22:54:58 UTC (rev 432) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonRecycleableTaglibs.java 2006-04-09 22:58:33 UTC (rev 433) @@ -176,7 +176,7 @@ String attType = entry.getValue(); Set<String> fields = methodWrites.get(methodInfo); - if ((fields != null) && fields.size() != 1) + if ((fields == null) || (fields.size() != 1)) continue; String fieldInfo = fields.iterator().next(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |