Skip to content

Commit

Permalink
CheckstyleBear: Handle column field correctly
Browse files Browse the repository at this point in the history
Fixes #450
  • Loading branch information
arafsheikh committed May 20, 2016
1 parent deef759 commit 0fef458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bears/java/CheckstyleBear.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ def known_checkstyle_or_path(setting):


@linter(executable='java', @linter(executable='java',
output_format='regex', output_format='regex',
output_regex=r'\[(?P<severity>WARN|INFO)\] *.+:' output_regex=r'\[(?P<severity>WARN|INFO)\].*?'
r'(?P<line>\d+)(?::(?P<column>\d+))?: *' r'(?P<line>\d+):?(?P<column>\d+)?. '
r'(?P<message>.*?) *\[(?P<origin>[a-zA-Z]+?)\]') r'(?P<message>.*?) *\[(?P<origin>[a-zA-Z]+?)\]')
class CheckstyleBear: class CheckstyleBear:
""" """
Expand Down

0 comments on commit 0fef458

Please sign in to comment.