Permalink
Browse files

CheckstyleBear: Handle column field correctly

Fixes #450
  • Loading branch information...
arafsheikh committed May 19, 2016
1 parent deef759 commit 0fef4585f9b51a224facc0f2cf0b7e8ee7834526
Showing with 2 additions and 2 deletions.
  1. +2 −2 bears/java/CheckstyleBear.py
@@ -19,8 +19,8 @@ def known_checkstyle_or_path(setting):
@linter(executable='java',
output_format='regex',
output_regex=r'\[(?P<severity>WARN|INFO)\] *.+:'
r'(?P<line>\d+)(?::(?P<column>\d+))?: *'
output_regex=r'\[(?P<severity>WARN|INFO)\].*?'
r'(?P<line>\d+):?(?P<column>\d+)?. '
r'(?P<message>.*?) *\[(?P<origin>[a-zA-Z]+?)\]')
class CheckstyleBear:
"""

0 comments on commit 0fef458

Please sign in to comment.