Rework CPD's LanguageFactory to use ServiceLoader, too

This commit is contained in:
Andreas Dangel
2014-10-11 12:16:28 +02:00
parent 72719bd0c3
commit 464b0bcef8
29 changed files with 95 additions and 97 deletions

View File

@ -9,6 +9,6 @@ package net.sourceforge.pmd.cpd;
*/
public class FortranLanguage extends AbstractLanguage {
public FortranLanguage() {
super(new FortranTokenizer(), ".for", ".f", ".f66", ".f77", ".f90");
super("fortran", new FortranTokenizer(), ".for", ".f", ".f66", ".f77", ".f90");
}
}

View File

@ -0,0 +1 @@
net.sourceforge.pmd.cpd.FortranLanguage