Skip to content

Commit

Permalink
[gherkin] Move CPD classes into specific gherkin package
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Jul 1, 2022
1 parent c5f06cd commit b14d518
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
/**
* Contains Gherkin tokenizer and language classes.
*/
package net.sourceforge.pmd.cpd;
package net.sourceforge.pmd.lang.gherkin.cpd;
Original file line number Diff line number Diff line change
@@ -1 +1 @@
net.sourceforge.pmd.cpd.GherkinLanguage
net.sourceforge.pmd.lang.gherkin.cpd.GherkinLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
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() {
Expand Down

0 comments on commit b14d518

Please sign in to comment.