Hello,
I'm using eclipse 3.3 europa with Java SDK 1.5_15 and finbugsplugin 1.3.4 on a linux machine. In Eclipse under Project -> Properties -> findbugs I'm using the default settings for detector configuration. For Reporter configuration I have selected all categories and I have set the priority on high. Furthermore I don't use any filter files.
I have written a testcase to find a NP bug.
Here a testcase:
package test.nads.pixelbox.thirdparty.findbugs;
import edu.umd.cs.findbugs.annotations.NonNull;
public class NullableTestCase {
private String p = "text";
public void setString(@NonNull String param) {
p = param;
}
public String getString() {
return p;
}
public void doSomething() {
setString(null);
}
}
When I use finbugs 1.3.4. He finds a NP_NONNULL_PARAM_VIOLATION bug in line 18 (setString(null)). OK! This is right!
But when I use the findbug plugin, he finds nothing.
Do I miss something? Other settings?
kind regards
Antonio Pedicillo
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss