Checkstyle, whitespace, formatting
This commit is contained in:
@ -25,14 +25,6 @@
|
||||
</delimiters>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-site-plugin</artifactId>
|
||||
<configuration>
|
||||
<xdocDirectory>${project.build.directory}/generated-xdocs</xdocDirectory>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
@ -41,11 +33,6 @@
|
||||
<artifactId>pmd-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
<artifactId>junit</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sourceforge.pmd</groupId>
|
||||
<artifactId>pmd-test</artifactId>
|
||||
|
@ -4,11 +4,15 @@
|
||||
package net.sourceforge.pmd.cpd;
|
||||
|
||||
/**
|
||||
* GoLang
|
||||
* Implements the Go Language
|
||||
*
|
||||
* @author oinume@gmail.com
|
||||
*/
|
||||
public class GoLanguage extends AbstractLanguage {
|
||||
|
||||
/**
|
||||
* Creates a new instance of {@link GoLanguage}
|
||||
*/
|
||||
public GoLanguage() {
|
||||
super("Go", "go", new GoTokenizer(), ".go");
|
||||
}
|
||||
|
@ -6,11 +6,15 @@ package net.sourceforge.pmd.cpd;
|
||||
import java.util.ArrayList;
|
||||
|
||||
/**
|
||||
* GoLang
|
||||
* Implements a tokenizer for the Go Language.
|
||||
*
|
||||
* @author oinume@gmail.com
|
||||
*/
|
||||
public class GoTokenizer extends AbstractTokenizer {
|
||||
|
||||
/**
|
||||
* Creates a new {@link GoTokenizer}
|
||||
*/
|
||||
public GoTokenizer() {
|
||||
// setting markers for "string" in Go
|
||||
this.stringToken = new ArrayList<String>();
|
||||
|
Reference in New Issue
Block a user