Getting Boxed value is unboxed and then immediately reboxed error in following code snippet. Please help me understand where is the issue?
public Integer