TRUNK-4224 SonarQube - method invokes inefficient Number constructor; us...

...e static valueOf instead