TRUNK-4222: SonarQube - Dead store to local variable