removes unnecessary boxing and unboxing

Just removing the unnecessary boxing and unboxing. It will be done by JDK automatically and removing the new instance such new Integer(0), will faster, more economical and IMHO more cleaner.