removed unnecessary unboxing followed by reboxing
Since id is a Long, Long.valueOf(long) unboxed the Long to a primitive long, then reboxed it into a Long instance, which was again unboxed to allow it to be set as an element of the array of longs. This commit reduces the number of boxings from 3 to 1.
Loading
Please register or sign in to comment