From 543795e5503a94ab2649da3fa72f118819e7fd5c Mon Sep 17 00:00:00 2001 From: Tomi De Lucca Date: Sun, 19 Aug 2018 04:06:53 -0300 Subject: [PATCH] checkstyle fixes --- .../src/main/java/net/sourceforge/pmd/cpd/AntlrTokenizer.java | 2 +- .../src/main/java/net/sourceforge/pmd/cpd/SwiftTokenizer.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pmd-core/src/main/java/net/sourceforge/pmd/cpd/AntlrTokenizer.java b/pmd-core/src/main/java/net/sourceforge/pmd/cpd/AntlrTokenizer.java index 318388c38c..75fc547f97 100644 --- a/pmd-core/src/main/java/net/sourceforge/pmd/cpd/AntlrTokenizer.java +++ b/pmd-core/src/main/java/net/sourceforge/pmd/cpd/AntlrTokenizer.java @@ -19,7 +19,7 @@ import net.sourceforge.pmd.lang.ast.TokenMgrError; */ public abstract class AntlrTokenizer implements Tokenizer { - protected abstract Lexer getLexerForSource(final CharStream charStream); + protected abstract Lexer getLexerForSource(CharStream charStream); @Override public void tokenize(final SourceCode sourceCode, final Tokens tokenEntries) { diff --git a/pmd-swift/src/main/java/net/sourceforge/pmd/cpd/SwiftTokenizer.java b/pmd-swift/src/main/java/net/sourceforge/pmd/cpd/SwiftTokenizer.java index ce13457502..2c6d04f388 100644 --- a/pmd-swift/src/main/java/net/sourceforge/pmd/cpd/SwiftTokenizer.java +++ b/pmd-swift/src/main/java/net/sourceforge/pmd/cpd/SwiftTokenizer.java @@ -4,10 +4,11 @@ package net.sourceforge.pmd.cpd; -import net.sourceforge.pmd.lang.swift.antlr4.SwiftLexer; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.Lexer; +import net.sourceforge.pmd.lang.swift.antlr4.SwiftLexer; + /** * SwiftTokenizer */