fundacionjala / enforce-sonarqube-plugin

Apex static code analyzer.
MIT License
37 stars 38 forks source link

Reparse string soqls #105

Closed VarS311 closed 8 years ago

VarS311 commented 8 years ago

Soql sentences were only recognized as such when they were in the format "[ SOQLSentence ]" and not as strings, for example Database.query(' SOQLSentence ').

In order to solve this issue, whenever a query was recognized as a String, this need to be re-parsed as a SOQL_EXPRESSION

JimmyRojas commented 8 years ago

looks good, thank you..