quality code review Sonar : duplicate code, whitespace