| The reason is that most users want to see the whole error message (including the reasoning) from error prone, this is not possible with the Java parser which shows only a single line. Showing such a warning in both parsers makes no sense for me as well, then you have the same warning twice. You can combine the results of the Java and Error Prone parser if you like, this can be done without changing the code (see aggregation options in the warnings plugin). If you want to create a PR, you need to add a flag for the Java parser (in the style of the FindBugs/SpotBugs parser) in the analysis model module. As a second step, you need to expose the same parameter in the Java parser of the warnings-ng plugin. |