Fix pmd warning

This commit is contained in:
Clément Fournier
2021-09-15 17:36:47 +02:00
parent 5d278c049b
commit e945897278
2 changed files with 7 additions and 3 deletions

View File

@ -22,4 +22,8 @@ public class KotlinHandler extends AbstractPmdLanguageVersionHandler {
public Parser getParser() {
return new PmdKotlinParser();
}
public String getKotlinRelease() {
return kotlinRelease;
}
}

View File

@ -21,8 +21,8 @@ public class KotlinLanguageModule extends BaseLanguageModule {
*/
public KotlinLanguageModule() {
super(NAME, null, TERSE_NAME, "kt", "ktm");
addVersion("", new KotlinHandler("1.3"));
addVersion("", new KotlinHandler("1.4"));
addDefaultVersion("", new KotlinHandler("1.5"));
addVersion("1.3", new KotlinHandler("1.3"));
addVersion("1.4", new KotlinHandler("1.4"));
addDefaultVersion("1.5", new KotlinHandler("1.5"));
}
}