TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  Optimization2Checked automatically with code checker

This rule is Obsolete
Synopsis:A method argument that is never assigned can be declared final
Language:Java
Severity Level:4
Category:Optimization


Description:
A method argument that is never assigned can be declared final.
public void foo (String param) {
  // do stuff with param never assigning it
  // better: public void foo (final String param) {
}