pmd-perl: checkstyle / formatting

This commit is contained in:
Andreas Dangel
2016-12-02 14:06:02 +01:00
parent 2aad642cc6
commit cd90c3df96
2 changed files with 8 additions and 6 deletions

View File

@ -1,10 +1,11 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
public class PerlLanguage extends AbstractLanguage {
public PerlLanguage() {
super("Perl", "perl", new PerlTokenizer(), ".pm", ".pl", ".t");
}
public PerlLanguage() {
super("Perl", "perl", new PerlTokenizer(), ".pm", ".pl", ".t");
}
}

View File

@ -1,6 +1,7 @@
/**
* BSD-style license; for more info see http://pmd.sourceforge.net/license.html
*/
package net.sourceforge.pmd.cpd;
import java.util.ArrayList;
@ -8,8 +9,8 @@ import java.util.ArrayList;
public class PerlTokenizer extends AbstractTokenizer {
public PerlTokenizer() {
this.stringToken = new ArrayList<>();
this.stringToken.add( "\'" );
this.stringToken.add( "\"" );
this.stringToken.add("\'");
this.stringToken.add("\"");
this.ignorableCharacter = new ArrayList<>();
@ -17,4 +18,4 @@ public class PerlTokenizer extends AbstractTokenizer {
this.spanMultipleLinesString = true;
}
}
}