Fix some pr comments
This commit is contained in:
@ -7,16 +7,9 @@ package net.sourceforge.pmd.lang.swift;
|
||||
import net.sourceforge.pmd.lang.AbstractPmdLanguageVersionHandler;
|
||||
import net.sourceforge.pmd.lang.Parser;
|
||||
import net.sourceforge.pmd.lang.ParserOptions;
|
||||
import net.sourceforge.pmd.lang.XPathHandler;
|
||||
import net.sourceforge.pmd.lang.ast.xpath.DefaultASTXPathHandler;
|
||||
|
||||
public class SwiftHandler extends AbstractPmdLanguageVersionHandler {
|
||||
|
||||
@Override
|
||||
public XPathHandler getXPathHandler() {
|
||||
return new DefaultASTXPathHandler();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Parser getParser(final ParserOptions parserOptions) {
|
||||
return new SwiftParserAdapter(parserOptions);
|
||||
|
Reference in New Issue
Block a user