박싱된 값은 해당 값을 다시 박싱하기 전 먼저 자동으로 언박싱되므로 이는 불필요한 작업입니다. 내부 루프에서 수행될 경우, 이러한 코드는 성능 문제를 초래할 수 있습니다.
예:
Integer value = 1; method(Integer.valueOf(value));
빠른 수정 적용 후:
Integer value = 1; method(value);