org.sonar.l10n.plsqlopen.rules.plsql.DuplicatedValueInIn.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zpa-checks Show documentation
Show all versions of zpa-checks Show documentation
Z PL/SQL Analyzer :: Checks
The newest version!
Duplicated values in an IN condition can be either a copy/paste error and therefore a bug, or it is simply wasted code, and should be simplified.
Noncompliant Code Example
if value in (a, a, b) then ...
Compliant Solution
if value in (a, b) then ...