I am getting the Findugs error "A boxed value is unboxed and then immediately reboxed".
This is the Code:
Employee emp = new Employee()
Long lmt = 123L;
emp.setLimit(Long.valueOf(lmt));
In this, Employee limit
field is of type Long
. Could you please let me know what is the error?
lmt
into the method? Why callLong.valueOf(lmg)
? – Babara