public List<Map<String, String>> execSQL(String id, String name) {
String sql = "select * from city where name = '" + name + "' and id = '" + id + "'";
return gisDao.execSQL(sql);
SonarSource is the company that makes SonarQube, SonarCloud, and SonarLint. You’re on the SonarSource Community right now!
Community-supported plugins, like spotbugs/sonar-findbugs (which you installed on your instance) are just that, community supported! Just not… this one, on theirs.
OK,Thanks~
I wonder whether I config the wrong quality profile to make the plugin dosen`t work as exception.
Do you have any idea about the plugin not working?
It troubles me several days, any help will be appreciate.
best wishes!
You’ll need to make sure a Quality Profile that this rule is activated in is assigned to your project!
But I really encourage you to get in touch with the plugin maintainers if you have trouble getting the rule to trigger on your code. I’ve linked the repositories in my previous posts.