replaced inefficient use of constructors for Integer, Long, Float and Double by the recommended static valueOf methods that cache results