removing boxing and unboxing

above JDK 5 boxing and unboxing are unnecessary