From 525542c9fa41b6e0ece38635bc1b26aef4ea9cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Mart=C3=ADn=20Sotuyo=20Dodero?= Date: Fri, 20 Jan 2017 09:11:04 -0300 Subject: [PATCH] Checkstyle fixes --- .../java/net/sourceforge/pmd/cpd/EcmascriptTokenizerTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pmd-javascript/src/test/java/net/sourceforge/pmd/cpd/EcmascriptTokenizerTest.java b/pmd-javascript/src/test/java/net/sourceforge/pmd/cpd/EcmascriptTokenizerTest.java index 690baddeb3..6d33e98719 100644 --- a/pmd-javascript/src/test/java/net/sourceforge/pmd/cpd/EcmascriptTokenizerTest.java +++ b/pmd-javascript/src/test/java/net/sourceforge/pmd/cpd/EcmascriptTokenizerTest.java @@ -122,7 +122,7 @@ public class EcmascriptTokenizerTest { @Test public void testTemplateStrings() throws IOException { Tokenizer t = new EcmascriptTokenizer(); - SourceCode sourceCode = new SourceCode( new SourceCode.StringCodeLoader( + SourceCode sourceCode = new SourceCode(new SourceCode.StringCodeLoader( "export default class DrawLocation extends joint.shapes.basic.Generic {\n" + " constructor(location: ILocation) {\n" + " this.markup = `\n" @@ -136,7 +136,7 @@ public class EcmascriptTokenizerTest { + " `;\n" + " }\n" + "\n" - + "}") ); + + "}")); final Tokens tokens = new Tokens(); t.tokenize(sourceCode, tokens); final String templateString = "`\n"