2009/8/6 Greg Brown <[email protected]>

>
>
>  Method invokes inefficient Number constructor
>> => 8 times ... ok, it's a test class, but i can patch ...
>> ParentResourcesTest.java:66 Method
>> org.apache.pivot.util.test.ParentResourcesTest.testInteger() invokes
>> inefficient new Integer(int) constructor; use Integer.valueOf(int)
>> instead
>>
>
> Chris, was this intentional, or would valueOf() be OK?
>

It probably should be valueOf(), yes.

Cheers,
Chris

Reply via email to