boxing/unboxing intention


In the following example the boxing/unboxing intention suggest to to
remove the "new Long(". But if you do it you break your code as this
will lead to a recursive loop until your stack is filled up.

public void setValue(Object value)

public void setValue(long value)
setValue(new Long(value));

If its possible to detect those cases and do not suggest to remove the
manual boxing it would be nice.


1 comment
Comment actions Permalink

This is a known issue, and should be fixed in the next couple of builds.

--Dave Griffith


Please sign in to leave a comment.