Skip to content

Commit

Permalink
Implement PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ASBrouwers committed Jun 28, 2022
1 parent bedb605 commit 5897eb7
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions pmd-gherkin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<parent>
<groupId>net.sourceforge.pmd</groupId>
<artifactId>pmd</artifactId>
<version>6.46.0</version>
<relativePath>../</relativePath>
<version>6.48.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
package net.sourceforge.pmd.cpd;

/**
* Language implementation for Gherkin
* Language implementation for Gherkin.
*/
public class GherkinLanguage extends AbstractLanguage {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

import net.sourceforge.pmd.cpd.token.AntlrTokenFilter;
import net.sourceforge.pmd.lang.antlr.AntlrTokenManager;
import net.sourceforge.pmd.lang.gherkin.antlr4.GherkinLexer;
import net.sourceforge.pmd.lang.gherkin.ast.GherkinLexer;

/**
* The Gherkin Tokenizer
* The Gherkin Tokenizer.
*/
public class GherkinTokenizer extends AntlrTokenizer {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/

/**
* Contains Gherkin tokenizer and language classes.
*/
package net.sourceforge.pmd.cpd;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/

/**
* Contains the Antlr grammar for Gherkin.
*/
package net.sourceforge.pmd.lang.gherkin.ast;
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,10 @@
import java.util.Properties;

import org.junit.Test;
import org.junit.rules.ExpectedException;

import net.sourceforge.pmd.cpd.test.CpdTextComparisonTest;

public class GherkinTokenizerTest extends CpdTextComparisonTest {

@org.junit.Rule
public ExpectedException ex = ExpectedException.none();

public GherkinTokenizerTest() {
super(".feature");
}
Expand Down

0 comments on commit 5897eb7

Please sign in to comment.