[Fb-contrib-commit] SF.net SVN: fb-contrib:[1364] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib
Brought to you by:
dbrosius
From: <dbr...@us...> - 2009-10-06 05:18:22
|
Revision: 1364 http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=1364&view=rev Author: dbrosius Date: 2009-10-06 05:18:16 +0000 (Tue, 06 Oct 2009) Log Message: ----------- @Override Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InconsistentKeyNameCasing.java trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonSymmetricEquals.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2009-10-06 05:12:58 UTC (rev 1363) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/collect/CollectStatistics.java 2009-10-06 05:18:16 UTC (rev 1364) @@ -28,7 +28,7 @@ { private int numMethodCalls; - public CollectStatistics(BugReporter bugReporter) { + public CollectStatistics(@SuppressWarnings("unused") BugReporter bugReporter) { Statistics.getStatistics().clear(); } Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InconsistentKeyNameCasing.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InconsistentKeyNameCasing.java 2009-10-06 05:12:58 UTC (rev 1363) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/InconsistentKeyNameCasing.java 2009-10-06 05:18:16 UTC (rev 1364) @@ -58,6 +58,7 @@ * implements the visitor to create the opcode stack * @param classContext the context object of the currently parsed class */ + @Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); @@ -71,6 +72,7 @@ * implements the visitor to reset the opcode stack for a new method * @param obj the context object of the currently parsed code block */ + @Override public void visitCode(Code obj) { stack.resetForMethodEntry(this); super.visitCode(obj); @@ -81,6 +83,7 @@ * and collect what the name of the key is. * @param seen the opcode of the currently parsed instruction */ + @Override public void sawOpcode(int seen) { try { if (seen == INVOKEINTERFACE) { Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonSymmetricEquals.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonSymmetricEquals.java 2009-10-06 05:12:58 UTC (rev 1363) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/NonSymmetricEquals.java 2009-10-06 05:18:16 UTC (rev 1364) @@ -58,6 +58,7 @@ * implements the visitor to create the stack object * @param classContext the context object of the currently parsed class */ + @Override public void visitClassContext(ClassContext classContext) { try { stack = new OpcodeStack(); @@ -71,6 +72,7 @@ * implements the visitor to see if this method is equals(Object o) * @param obj the context object of the currently parsed code block */ + @Override public void visitCode(Code obj) { Method m = getMethod(); String name = m.getName(); @@ -98,6 +100,7 @@ * enter instances in a map for further processing in doReport. * @param seen the opcode of the currently parsed instruction */ + @Override public void sawOpcode(int seen) { try { if (seen == CHECKCAST) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |