From cd90c3df96ed2e3cb5b055a131db19c3aff5c553 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Fri, 2 Dec 2016 14:06:02 +0100 Subject: [PATCH] pmd-perl: checkstyle / formatting --- .../main/java/net/sourceforge/pmd/cpd/PerlLanguage.java | 7 ++++--- .../main/java/net/sourceforge/pmd/cpd/PerlTokenizer.java | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlLanguage.java b/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlLanguage.java index ff2863acaa..2df0534704 100644 --- a/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlLanguage.java +++ b/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlLanguage.java @@ -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"); + } } diff --git a/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlTokenizer.java b/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlTokenizer.java index 2cd01e19f7..f43f5bdeba 100644 --- a/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlTokenizer.java +++ b/pmd-perl/src/main/java/net/sourceforge/pmd/cpd/PerlTokenizer.java @@ -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; } -} \ No newline at end of file +}