commit | 1a154a67115e2a005999ccb65fe127c02d69b104 | [log] [tgz] |
---|---|---|
author | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Mon Nov 27 10:51:38 2017 -0500 |
committer | Hector Oswaldo Caballero <hector.caballero@ericsson.com> | Mon Nov 27 12:51:44 2017 -0500 |
tree | 257accea39098365c9e52c45aa8aedf7f5b24ae5 | |
parent | 0f11de44e855cd49f1a8d81fc293dac3f99c0b1a [diff] |
Sonar: Local variables should not shadow class fields Shadowing fields with a local variable is a bad practice that reduces code readability: it makes it confusing to know whether the field or the variable is being used. Inline the offending variable instead of rename it. Change-Id: Ia708d5230babc31f7f0f16227df487552bafc1b5