Fix compil

This commit is contained in:
Clément Fournier 2023-03-04 15:38:40 +01:00
parent c44ce2633f
commit 255fdf050b
No known key found for this signature in database
GPG Key ID: 4D8D42402E4F47E2
4 changed files with 4 additions and 7 deletions

View File

@ -7,7 +7,6 @@ package net.sourceforge.pmd.lang.apex;
import net.sourceforge.pmd.cpd.CpdCapableLanguage;
import net.sourceforge.pmd.cpd.PmdCapableLanguage;
import net.sourceforge.pmd.cpd.Tokenizer;
import net.sourceforge.pmd.lang.Language;
import net.sourceforge.pmd.lang.LanguageModuleBase;
import net.sourceforge.pmd.lang.LanguageProcessor;
import net.sourceforge.pmd.lang.LanguagePropertyBundle;
@ -43,7 +42,7 @@ public class ApexLanguageModule extends LanguageModuleBase implements PmdCapable
return new ApexTokenizer((ApexLanguageProperties) bundle);
}
public static Language getInstance() {
public static ApexLanguageModule getInstance() {
return INSTANCE;
}
}

View File

@ -10,6 +10,6 @@ import net.sourceforge.pmd.lang.rule.xpath.impl.AbstractXPathFunctionDef;
abstract class BaseJavaXPathFunction extends AbstractXPathFunctionDef {
protected BaseJavaXPathFunction(String localName) {
super(localName, JavaLanguageModule.getInstance().getId());
super(localName, JavaLanguageModule.getInstance());
}
}

View File

@ -6,7 +6,6 @@ package net.sourceforge.pmd.lang.plsql;
import net.sourceforge.pmd.cpd.PLSQLTokenizer;
import net.sourceforge.pmd.cpd.Tokenizer;
import net.sourceforge.pmd.lang.Language;
import net.sourceforge.pmd.lang.LanguagePropertyBundle;
import net.sourceforge.pmd.lang.impl.SimpleLanguageModuleBase;
@ -56,7 +55,7 @@ public class PLSQLLanguageModule extends SimpleLanguageModuleBase {
return new PLSQLTokenizer(bundle);
}
public static Language getInstance() {
public static PLSQLLanguageModule getInstance() {
return INSTANCE;
}
}

View File

@ -6,7 +6,6 @@ package net.sourceforge.pmd.lang.vf;
import net.sourceforge.pmd.cpd.CpdCapableLanguage;
import net.sourceforge.pmd.cpd.Tokenizer;
import net.sourceforge.pmd.lang.Language;
import net.sourceforge.pmd.lang.LanguagePropertyBundle;
import net.sourceforge.pmd.lang.apex.ApexLanguageModule;
import net.sourceforge.pmd.lang.impl.SimpleLanguageModuleBase;
@ -39,7 +38,7 @@ public class VfLanguageModule extends SimpleLanguageModuleBase implements CpdCap
return new VfLanguageProperties();
}
public static Language getInstance() {
public static VfLanguageModule getInstance() {
return INSTANCE;
}
}