[gherkin] Move CPD classes into specific gherkin package

This commit is contained in:
Andreas Dangel 2022-07-01 09:06:06 +02:00
parent c5f06cdf88
commit b14d51829d
No known key found for this signature in database
GPG Key ID: 93450DF2DF9A3FA3
5 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,9 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
package net.sourceforge.pmd.lang.gherkin.cpd;
import net.sourceforge.pmd.cpd.AbstractLanguage;
/**
* Language implementation for Gherkin.

View File

@ -2,10 +2,12 @@
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
package net.sourceforge.pmd.lang.gherkin.cpd;
import org.antlr.v4.runtime.CharStream;
import net.sourceforge.pmd.cpd.AntlrTokenizer;
import net.sourceforge.pmd.cpd.SourceCode;
import net.sourceforge.pmd.cpd.token.AntlrTokenFilter;
import net.sourceforge.pmd.lang.antlr.AntlrTokenManager;
import net.sourceforge.pmd.lang.gherkin.ast.GherkinLexer;

View File

@ -5,4 +5,4 @@
/**
* Contains Gherkin tokenizer and language classes.
*/
package net.sourceforge.pmd.cpd;
package net.sourceforge.pmd.lang.gherkin.cpd;

View File

@ -1 +1 @@
net.sourceforge.pmd.cpd.GherkinLanguage
net.sourceforge.pmd.lang.gherkin.cpd.GherkinLanguage

View File

@ -9,6 +9,7 @@ import java.util.Properties;
import org.junit.Test;
import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;
import net.sourceforge.pmd.lang.gherkin.cpd.GherkinTokenizer;
public class GherkinTokenizerTest extends CpdTextComparisonTest {
public GherkinTokenizerTest() {