Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
[JENKINS-17789] Convert Gendarme parser to native warnings parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Aug 17, 2013
1 parent 4e43e23 commit 42072ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Expand Up @@ -3,7 +3,6 @@
import java.util.List;

import hudson.plugins.violations.types.codenarc.CodenarcParser;
import hudson.plugins.violations.types.gendarme.GendarmeParser;

/**
* Registers the parsers of the violations plug-in.
Expand All @@ -23,10 +22,6 @@ public static void addParsers(final List<AbstractWarningsParser> parsers) {
Messages._Warnings_Codenarc_ParserName(),
Messages._Warnings_Codenarc_LinkName(),
Messages._Warnings_Codenarc_TrendName()));
parsers.add(new ViolationsAdapter(new GendarmeParser(),
Messages._Warnings_Gendarme_ParserName(),
Messages._Warnings_Gendarme_LinkName(),
Messages._Warnings_Gendarme_TrendName()));
}

/**
Expand Down
Expand Up @@ -23,6 +23,8 @@
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;

import hudson.Extension;

import hudson.plugins.analysis.util.model.FileAnnotation;
import hudson.plugins.analysis.util.model.Priority;
import hudson.plugins.violations.types.fxcop.XmlElementUtil;
Expand All @@ -37,6 +39,7 @@
*
* @author mathias.kluba@gmail.com
*/
@Extension
public class GendarmeParser extends AbstractWarningsParser {
private static final long serialVersionUID = 1677715364464119907L;

Expand Down

0 comments on commit 42072ba

Please sign in to comment.