package edu.hm.hafner.analysis.registry;

import edu.hm.hafner.analysis.IssueParser;
import edu.hm.hafner.analysis.parser.CodeCheckerParser;

/**
 * A descriptor for the Codechecker parser.
 *
 */
class CodeCheckerDescriptor extends ParserDescriptor {
    private static final String ID = "CodeChecker";
    private static final String NAME = "CodeChecker";

    CodeCheckerDescriptor() {
        super(ID, NAME);
    }

    @Override
    public IssueParser createParser(final Option... options) {
        return new CodeCheckerParser();
    }
}

package edu.hm.hafner.analysis.registry;

import edu.hm.hafner.analysis.IssueParser;
import edu.hm.hafner.analysis.parser.CodeCheckerParser;

/**
 * A descriptor for the Codechecker parser.
 *
 */
class CodeCheckerDescriptor extends ParserDescriptor {
    private static final String ID = "code-checker";
    private static final String NAME = "CodeChecker";

    CodeCheckerDescriptor() {
        super(ID, NAME);
    }

    @Override
    public IssueParser createParser(final Option... options) {
        return new CodeCheckerParser();
    }
}

make ID lower case with dash as separator