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

Rule:  Design6Checked automatically with code checker

Synopsis:Avoid reassigning parameters
Language:Java
Severity Level:2
Category:Design


Description:
Reassigning values to parameters is a questionable practice. Use a temporary local variable instead.
public class Foo {
 private void foo(String bar) {
  bar = "something else";
 }
}