siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
694 stars 107 forks source link

Extract string constants from `SemverOut` so they can be reused #380

Closed guillermocalvo closed 5 months ago

guillermocalvo commented 5 months ago

According to Sonar rules:

Duplicated string literals make the process of refactoring complex and error-prone, as any change would need to be propagated on all occurrences.

The rationale behind this PR is that I'm working on a new output generator for japicmp that would benefit from SemverOut results being defined as constants.