JAVA.HIDDEN.PARAM.LOCAL
Method arguments and member variable names are duplicated.
Vulnerability and risk
Unintended misuse of variables can cause problems.
Mitigation and prevention
Avoid duplication by using different variable names to avoid misuse.
Example 1
Copy
class C06MPC
{
private int privateVarHidden;
public void hidePrivate(int privateVarHidden) //NG
{
}
}