diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-13 11:18:35 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-06-13 11:18:35 +0200 |
commit | bde0ca9b790f573afa331252f3ba21fb0c7a9f1d (patch) | |
tree | 54a552919621aeef0fbe236fcbab28f48b609e1f /sonar-core/src | |
parent | 5c089eaaa71104b875ea6f79424b57897666fdb0 (diff) | |
download | sonarqube-bde0ca9b790f573afa331252f3ba21fb0c7a9f1d.tar.gz sonarqube-bde0ca9b790f573afa331252f3ba21fb0c7a9f1d.zip |
SONAR-4383 Revert modification in IssueMapper
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml index 11d5244da84..61246d6c239 100644 --- a/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/issue/db/IssueMapper.xml @@ -240,22 +240,22 @@ r.plugin_name=#{rule.repository} and r.plugin_rule_key=#{rule.rule}</foreach>) </if> <where> - <if test="query.issueKeys() != null and query.issueKeys().size() > 0"> + <if test="query.issueKeys() != null"> and i.kee in <foreach item="key" index="index" collection="query.issueKeys()" open="(" separator="," close=")">#{key} </foreach> </if> - <if test="query.severities() != null and query.severities().size() > 0"> + <if test="query.severities() != null"> and i.severity in <foreach item="severity" index="index" collection="query.severities()" open="(" separator="," close=")">#{severity} </foreach> </if> - <if test="query.statuses() != null and query.statuses().size() > 0"> + <if test="query.statuses() != null"> and i.status in <foreach item="status" index="index" collection="query.statuses()" open="(" separator="," close=")">#{status} </foreach> </if> - <if test="query.resolutions() != null and query.resolutions().size() > 0"> + <if test="query.resolutions() != null"> and i.resolution in <foreach item="resolution" index="index" collection="query.resolutions()" open="(" separator="," close=")">#{resolution} </foreach> @@ -268,12 +268,12 @@ and i.resolution is null </if> </if> - <if test="query.reporters() != null and query.reporters().size() > 0"> + <if test="query.reporters() != null"> and i.reporter in <foreach item="reporter" index="index" collection="query.reporters()" open="(" separator="," close=")">#{reporter} </foreach> </if> - <if test="query.assignees() != null and query.assignees().size() > 0"> + <if test="query.assignees() != null"> and i.assignee in <foreach item="assignee" index="index" collection="query.assignees()" open="(" separator="," close=")">#{assignee} </foreach> @@ -294,7 +294,7 @@ and i.action_plan_key is null </if> </if> - <if test="query.actionPlans() != null and query.actionPlans().size() > 0"> + <if test="query.actionPlans() != null"> and i.action_plan_key in <foreach item="action_plan" index="index" collection="query.actionPlans()" open="(" separator="," close=")"> #{action_plan} |