Forgot golang and groovy

This commit is contained in:
Clément Fournier 2019-09-27 18:24:22 +02:00
parent dadef8d990
commit e6a2a60aaa
5 changed files with 0 additions and 84 deletions

View File

@ -1,26 +0,0 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.go;
import net.sourceforge.pmd.lang.BaseLanguageModule;
/**
* Language Module for Go.
*/
public class GoLanguageModule extends BaseLanguageModule {
/** The name. */
public static final String NAME = "Golang";
/** The terse name. */
public static final String TERSE_NAME = "go";
/**
* Create a new instance of Golang Language Module.
*/
public GoLanguageModule() {
super(NAME, null, TERSE_NAME, null, "go");
addVersion("1", null, true);
}
}

View File

@ -1 +0,0 @@
net.sourceforge.pmd.lang.go.GoLanguageModule

View File

@ -1,27 +0,0 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd;
import java.util.Arrays;
import java.util.Collection;
import org.junit.runners.Parameterized.Parameters;
import net.sourceforge.pmd.lang.LanguageRegistry;
import net.sourceforge.pmd.lang.LanguageVersion;
import net.sourceforge.pmd.lang.go.GoLanguageModule;
public class LanguageVersionTest extends AbstractLanguageVersionTest {
public LanguageVersionTest(String name, String terseName, String version, LanguageVersion expected) {
super(name, terseName, version, expected);
}
@Parameters
public static Collection<Object[]> data() {
return Arrays.asList(new Object[][] { { GoLanguageModule.NAME, GoLanguageModule.TERSE_NAME, "1",
LanguageRegistry.getLanguage(GoLanguageModule.NAME).getDefaultVersion(), }, });
}
}

View File

@ -1,29 +0,0 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.lang.groovy;
import net.sourceforge.pmd.lang.BaseLanguageModule;
/**
* Language Module for Groovy
*
* @deprecated There is no full PMD support for Groovy.
*/
@Deprecated
public class GroovyLanguageModule extends BaseLanguageModule {
/** The name. */
public static final String NAME = "Groovy";
/** The terse name. */
public static final String TERSE_NAME = "groovy";
/**
* Create a new instance of Groovy Language Module.
*/
public GroovyLanguageModule() {
super(NAME, null, TERSE_NAME, null, "groovy");
addVersion("", null, true);
}
}

View File

@ -1 +0,0 @@
net.sourceforge.pmd.lang.groovy.GroovyLanguageModule