Fix unboxing issue with JDK 1.6

Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>