[Fb-contrib-commit] SF.net SVN: fb-contrib:[1539] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2010-04-04 08:21:58
|
Revision: 1539
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1539&view=rev
Author: dbrosius
Date: 2010-04-04 08:21:52 +0000 (Sun, 04 Apr 2010)
Log Message:
-----------
don't report throws of new Exceptions with no parms
Modified Paths:
--------------
trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleConstantAllocationInLoop.java
Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleConstantAllocationInLoop.java
===================================================================
--- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleConstantAllocationInLoop.java 2010-04-04 08:18:39 UTC (rev 1538)
+++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/PossibleConstantAllocationInLoop.java 2010-04-04 08:21:52 UTC (rev 1539)
@@ -198,6 +198,7 @@
break;
case ARETURN:
+ case ATHROW:
if (stack.getStackDepth() > 0) {
OpcodeStack.Item item = stack.getStackItem(0);
Integer allocation = (Integer)item.getUserValue();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|