-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
Jenkins LTS 2.332.3
Warnings-NG 9.12.0
17:16:14 /home/jenkins/agent/workspace/Foo.java:[32,17] [UnnecessaryParentheses] These grouping parentheses are unnecessary; it is unlikely the code will be misinterpreted without them 17:16:14 (see https://errorprone.info/bugpattern/UnnecessaryParentheses) 17:16:14 Did you mean '.randomize( FieldPredicates.named("absoluteRateLimit")'?
Using error prone 2.13 as java maven apt processor the output seems to have changed so that the error prone parser does not detect any messages anymore.
[JENKINS-68643] Error prone parser does not work anymore
Assignee | Original: Ulli Hafner [ drulli ] | |
Labels | New: help-wanted newbie-friendly |
Labels | Original: help-wanted newbie-friendly | New: hacktoberfest help-wanted newbie-friendly |
Resolution | New: Cannot Reproduce [ 5 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
I'm using 1.14 without any problems:
It looks like that there is no WARNING printed in your case in Maven. You can check why this is different in your version (here is my log file: https://ci.jenkins.io/job/Plugins/job/analysis-model/job/master/lastBuild/console).
Another approach would be to make the tag optional in https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/parser/ErrorProneParser.java#L27.