Unable to use the fileExtensions property #25

Closed
romani opened this Issue Oct 26, 2013 · 1 comment

Projects

None yet

2 participants

@romani
Member
romani commented Oct 26, 2013

Change default sun_checks.xml to have fileExtensions
http://checkstyle.sourceforge.net/config.html#TreeWalker

<module name="Checker">
    <module name="TreeWalker">
        <property name="fileExtensions" value="java"/>

Prepare folder with pdf file - /home/user/Books.
Execute:

java -cp file:///home/user/java/git-others/checkstyle/target/checkstyle-5.7-SNAPSHOT-all.jar com.puppycrawl.tools.checkstyle.Main -c file:///home/user/java/git-others/checkstyle/sun_checks.xml -r /home/user/Books

Output:
....
/home/user/Books/book-of-vaadin-pocket.pdf:157179: Line has trailing spaces.
...

Created: 2012-12-13
Creator: Flavien Huynh
SF ticket: 691
Reported that it possible to get OutofMemoryError if files are big.

@alexkravin alexkravin was assigned by romani Dec 31, 2014
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 21, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 3d57c08
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 22, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 06a8c48
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 22, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 b241bf7
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 23, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 922450d
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 24, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 653ef63
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 24, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 1484b81
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 24, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 e92ffc5
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 24, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 dddb250
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 24, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 d4813cd
@alexkravin alexkravin added a commit to alexkravin/checkstyle that referenced this issue Jan 25, 2015
@alexkravin alexkravin Added file extensions property to Checker & TreeWalker, issue #25 204c073
@romani
Member
romani commented Jan 25, 2015

fixed, will be released in 6.3

@romani romani closed this Jan 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment