Can anyone point me to how I can change an existing rule to not report an error?
In this case I get a bug about not closing a db resource:
ODR_OPEN_DATABASE_RESOURCE (ODR, BAD_PRACTICE): Method may fail to close database resource
I use our own close method which handles all that, how can I get findbugs to realize that?
DbUtil.close(connection, statement, resultset);
You can use the SuppressWarnings annotation. See http://stackoverflow.com/questions/249536/when-using-eclipse-with-findbugs-can-you-mark-a-bug-as-not-a-bug-and-have-it-remo for details.