forked from phoedos/pmd
code cleanup: unused list
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4998 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -9,8 +9,6 @@ import net.sourceforge.pmd.cpd.cppast.Token;
|
||||
import net.sourceforge.pmd.cpd.cppast.TokenMgrError;
|
||||
|
||||
import java.io.StringReader;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class CPPTokenizer implements Tokenizer {
|
||||
private static SimpleCharStream charStream;
|
||||
@ -35,8 +33,6 @@ public class CPPTokenizer implements Tokenizer {
|
||||
} catch (TokenMgrError err) {
|
||||
err.printStackTrace();
|
||||
System.out.println("Skipping " + sourceCode.getFileName() + " due to parse error");
|
||||
List emptyCode = new ArrayList();
|
||||
emptyCode.add("");
|
||||
tokenEntries.add(TokenEntry.getEOF());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user