[Fb-contrib-commit] SF.net SVN: fb-contrib:[1138] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2009-03-04 04:19:05
|
Revision: 1138 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1138&view=rev Author: dbrosius Date: 2009-03-04 04:19:04 +0000 (Wed, 04 Mar 2009) Log Message: ----------- stop recursing at Error as well. Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BogusExceptionDeclaration.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BogusExceptionDeclaration.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BogusExceptionDeclaration.java 2009-03-04 04:05:25 UTC (rev 1137) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/BogusExceptionDeclaration.java 2009-03-04 04:19:04 UTC (rev 1138) @@ -134,7 +134,7 @@ exCls = superCls; declaredCheckedExceptions.remove(exCls.getClassName()); superCls = exCls.getSuperClass(); - } while (!declaredCheckedExceptions.isEmpty() && !"java.lang.Exception".equals(exCls.getClassName())); + } while (!declaredCheckedExceptions.isEmpty() && !"java.lang.Exception".equals(exCls.getClassName()) && !"java.lang.Error".equals(exCls.getClassName())); } } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |