Integer.valueOf() no longer necessary in some places

as of lately Java compiler can take care of ints