You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (rule.getIndex() == 0 || rule.getDistanceCheckType() != RuleDistanceIndexMatchType.BEFOREORAFTER) {
I can't figure out why the distance checktype is checked, while checking the index order of the parsed nodes.
Could it be that the indexchecktype of the rule implementation should be used?
Hi Greta,
See
sonar-sql-plugin/src/sonar-sql-plugin/src/main/java/org/antlr/sql/sca/ViolationsAnalyzer.java
Line 141 in 54495ab
I can't figure out why the distance checktype is checked, while checking the index order of the parsed nodes.
Could it be that the indexchecktype of the rule implementation should be used?
Regards,
Maarten.