Use 3 literals in the bad example of G-1050
PhilippSalvisberg opened this issue · 0 comments
PhilippSalvisberg commented
The guideline G-1050 suggests now that a literal should not be duplicated more than once.
To reduce the number of false positives, the number of occurrences of a literal should be less than 3.
As a result, we should change the bad example. It should use a literal at least 3 times.