Menu

Documentation: Extra closing-brace in suppress-warnings example

Ed Brannin
2014-08-27
2014-08-30
  • Ed Brannin

    Ed Brannin - 2014-08-27

    On http://pmd.sourceforge.net/pmd-5.1.2/suppressing.html

    public class Foo {
    void bar() {
    try {
    bar();
    } catch (FileNotFoundException e) {} // NOPMD - this surely will
    never happen } }}

    There is an extra brace after "catch {}" (shown in red above).

    Enjoy,
    -Ed

     
  • Andreas Dangel

    Andreas Dangel - 2014-08-30

    Thanks, will be fixed with the next version.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.