Remove unnecessary PMD language module for kotlin

This commit is contained in:
Andreas Dangel
2018-11-26 12:11:18 +01:00
parent 166e17f483
commit 202a184366
3 changed files with 0 additions and 54 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.kotlin;
import net.sourceforge.pmd.lang.BaseLanguageModule;
/**
* Language Module for Kotlin
*/
public class KotlinLanguageModule extends BaseLanguageModule {
/** The name. */
public static final String NAME = "Kotlin";
/** The terse name. */
public static final String TERSE_NAME = "kotlin";
/**
* Create a new instance of Kotlin Language Module.
*/
public KotlinLanguageModule() {
super(NAME, null, TERSE_NAME, null, "kt");
addVersion("1.3", null, true);
}
}

View File

@ -1 +0,0 @@
net.sourceforge.pmd.lang.kotlin.KotlinLanguageModule

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.kotlin.KotlinLanguageModule;
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[][] { { KotlinLanguageModule.NAME, KotlinLanguageModule.TERSE_NAME, "1.3",
LanguageRegistry.getLanguage(KotlinLanguageModule.NAME).getDefaultVersion(), }, });
}
}