pmd-perl: checkstyle / formatting
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user