Change behavior of existing rule

  • Jorgen Rapp

    Jorgen Rapp - 2010-08-24

    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?

    }finally {
                DbUtil.close(connection, statement, resultset);


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks