tomasbjerre / violations-lib

Java library for parsing report files from static code analysis.
Apache License 2.0
148 stars 39 forks source link

Parse CPPCheck reports without file #118 #119

Closed tomasbjerre closed 3 years ago

tomasbjerre commented 3 years ago

@uhafner what do you think about adding a NO_FILE = "GENERAL"; like this? I'd like to avoid letting the filename be nullable.

uhafner commented 3 years ago

Yes, using a constant makes sense 👍. I have such a constant as well in my API: https://github.com/jenkinsci/analysis-model/blob/master/src/main/java/edu/hm/hafner/analysis/Issue.java#L30.