[Fb-contrib-commit] SF.net SVN: fb-contrib: [754] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2006-12-22 21:33:20
|
Revision: 754 http://svn.sourceforge.net/fb-contrib/?rev=754&view=rev Author: dbrosius Date: 2006-12-22 13:33:16 -0800 (Fri, 22 Dec 2006) Log Message: ----------- remove unused parm Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessMemberCollectionSynchronization.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessMemberCollectionSynchronization.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessMemberCollectionSynchronization.java 2006-12-22 21:32:07 UTC (rev 753) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NeedlessMemberCollectionSynchronization.java 2006-12-22 21:33:16 UTC (rev 754) @@ -218,7 +218,7 @@ stack.mergeJumps(this); isSyncCollection = isSyncCollectionCreation(seen); if (seen == PUTSTATIC) - processCollectionStore(seen); + processCollectionStore(); } finally { stack.sawOpcode(this, seen); if (isSyncCollection) { @@ -242,7 +242,7 @@ stack.mergeJumps(this); isSyncCollection = isSyncCollectionCreation(seen); if (seen == PUTFIELD) - processCollectionStore(seen); + processCollectionStore(); } finally { stack.sawOpcode(this, seen); if (isSyncCollection) { @@ -359,10 +359,8 @@ /** * sets the source line annotation of a store to a collection if that collection * is synchronized. - * - * @param seen the opcode of the currently parsed instruction */ - private void processCollectionStore(int seen) { + private void processCollectionStore() { String fieldClassName = getDottedClassConstantOperand(); if (fieldClassName.equals(className)) { if (stack.getStackDepth() > 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |