[Fb-contrib-commit] SF.net SVN: fb-contrib: [1012] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-03-20 05:39:27
|
Revision: 1012 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1012&view=rev Author: dbrosius Date: 2008-03-19 22:39:32 -0700 (Wed, 19 Mar 2008) Log Message: ----------- only report WEM for methods with parms, as noparm instance methods are not obvious enough Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WeakExceptionMessaging.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WeakExceptionMessaging.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WeakExceptionMessaging.java 2008-03-19 21:52:53 UTC (rev 1011) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/WeakExceptionMessaging.java 2008-03-20 05:39:32 UTC (rev 1012) @@ -93,7 +93,7 @@ @Override public void visitCode(Code obj) { Method method = getMethod(); - if (!method.isStatic() || !method.getSignature().startsWith("()")) { + if (!method.getSignature().startsWith("()")) { if (prescreen(getMethod())) { stack.resetForMethodEntry(this); super.visitCode(obj); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |