com.puppycrawl.tools.checkstyle.checks.whitespace
Class TabCharacterCheck
- Configurable, Contextualizable
public class TabCharacterCheck
Reports tab characters ('\t') in the source code.
Rationale:
- Developers should not need to configure the tab width of their
text editors in order to be able to read source code.
- From the Apache jakarta coding standards:
In a distributed development environment, when the
cvs commit messages get sent to a mailing list, they are almost
impossible to read if you use tabs.
An example of how to configure the check is:
<module name="TabCharacter"/>
- Lars K?hne
beginTree , destroy , finishTree , getAcceptableTokens , getClassLoader , getDefaultTokens , getFileContents , getLines , getRequiredTokens , getTabWidth , getTokenNames , init , leaveToken , log , log , setClassLoader , setFileContents , setMessages , setTabWidth , setTokens , visitToken |
getMessageBundle , getSeverity , getSeverityLevel , log , log , log , log , log , log , log , log , log , log , log , setSeverity |
getDefaultTokens
public int[] getDefaultTokens()
- getDefaultTokens in interface Check
Check