A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/891 below:

[doc] Apex @SuppressWarnings should use single quotes instead of double quotes · Issue #891 · pmd/pmd · GitHub

Affects PMD Version: 6.0.1

Rule: errorprone.xml/EmptyStatementBlock, but maybe others as well

Description:
Supressing this violation with @SuppressWarnings("PMD.EmptyStatementBlock") doesn't work.

Code Sample demonstrating the issue:

public class ConfigExtractor {
    @SuppressWarnings("PMD.EmptyStatementBlock")
    public static void orgIdent () {
    }
}

as well as this:

@SuppressWarnings("PMD.EmptyStatementBlock")
public class ConfigExtractor {
    public static void orgIdent () {
    }
} 

Running PMD through: [CLI]

See https://sourceforge.net/p/pmd/discussion/188193/thread/9ae8d154/


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4