diff options
author | Horacio Sanson <horacio@allm.net> | 2019-05-28 17:48:27 +0900 |
---|---|---|
committer | Horacio Sanson <horacio@allm.net> | 2019-05-28 17:48:27 +0900 |
commit | 181bc69c8c0b113d8f5b8325f6faf1580d1fadd7 (patch) | |
tree | d15187649ea4cbe2bb4447e012e32a47cf52f661 /test/handler/test_credo_handler.vader | |
parent | bb08b81bf719d4c55669c583c65fbe4bbd795501 (diff) | |
download | ale-181bc69c8c0b113d8f5b8325f6faf1580d1fadd7.zip |
Fix java checkstyle handler.
The checkstyle handler is capable of parsing the new and old output
formats. Unfortunately there are some particular output messages that
matched both the new and old regular expressions:
[WARN] whatever:11:7: WhitespaceAround: ''if'' is not followed by whitespace. [WhitespaceAround]
This caused ALE to report extra errors since the message was being
matched twice, once as a warning and another (incorrect) old formatted
error.
This MR fixes this by stopping any parsing using the old format regexp
is any errors of the new format are correcly parsed. There is no reason
to expect checkstyle to output both styles in the same report.
Diffstat (limited to 'test/handler/test_credo_handler.vader')
0 files changed, 0 insertions, 0 deletions