#1212 TESTING bugs are reported by edu.umd.cs.findbugs.detect.DumbMethods

2.0.3
closed-fixed
None
5
2013-11-14
2013-10-31
No

The code below produces "TESTING" bug "Should call Integer.toString(int) instead" if "experimental" category is enabled.

public class TestIntegerToString {
public String doSomethong() {
return Integer.valueOf(0).toString();
}
}

While code could be improved, the "TESTING" warning is unexpected, I would expect rather that a specific bug is generated here.

Discussion

  • William Pugh

    William Pugh - 2013-10-31
    • status: open --> open-accepted
     
  • William Pugh

    William Pugh - 2013-11-14

    Now reported as DM_BOXED_PRIMITIVE_TOSTRING

     
  • William Pugh

    William Pugh - 2013-11-14
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.