Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

TreeWalker: Problems while checking always results to severity "error" #106

Open
daniilyar opened this Issue · 0 comments

1 participant

@daniilyar
Owner

Ported from Sourceforge patch 122, the text below was copy-pasted from there:

Hello!
I would like to stop the build if checkstyle reports an "error" but the build should not stop if a "warning" occurs.
The problem is, that if Checkstyle is not able to do a test for some reason (e.g. "Got an exception - java.lang.RuntimeException: Unable to get class information for COSVisitorException.") the build fails because an "error" is reported.
The attatched patch uses the severity assigned to the module TreeWalker (default: "error") for this messages instead of always "error".
Greetings
Bernhard Mähr

There is suggested patch for TreeWarker: https://sourceforge.net/p/checkstyle/patches/_discuss/thread/b96f7579/95b4/attachment/TreeWalker.patch
and also additional patch which adds docs:
https://sourceforge.net/p/checkstyle/patches/_discuss/thread/b96f7579/eb6c/attachment/TreeWalker.doku.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.