Documentation: Extra closing-brace in suppress-warnings example
A source code analyzer
Brought to you by:
adangel,
juansotuyo
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
Thanks, will be fixed with the next version.