From da890b0c81fe1b5b242a8b8bb3e46bd0f059a0a3 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 28 Aug 2013 12:05:04 +0200 Subject: [PATCH] Minor code formatting --- .../sonar/core/resource/ResourceMapper.xml | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml b/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml index b74a7eb0d87..18cbecb6dc1 100644 --- a/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml +++ b/sonar-core/src/main/resources/org/sonar/core/resource/ResourceMapper.xml @@ -186,21 +186,21 @@ select s.project_id from snapshots s, ( - select project_components.id as id, - snapshot_components.id as sid, - root_snapshot_components.project_id as root_project_id, - root_snapshot_components.id as root_snapshot_id, - snapshot_components.path as path - from projects project_components - inner join snapshots snapshot_components on snapshot_components.project_id = project_components.id and snapshot_components.islast = ${_true} - inner join snapshots root_snapshot_components on root_snapshot_components.project_id = snapshot_components.root_project_id and root_snapshot_components.islast = ${_true} - inner join ( - - ) authorized_projects on authorized_projects.root_project_id = root_snapshot_components.project_id - - and project_components.kee=#{componentRootKey} - and project_components.enabled = ${_true} - + select project_components.id as id, + snapshot_components.id as sid, + root_snapshot_components.project_id as root_project_id, + root_snapshot_components.id as root_snapshot_id, + snapshot_components.path as path + from projects project_components + inner join snapshots snapshot_components on snapshot_components.project_id = project_components.id and snapshot_components.islast = ${_true} + inner join snapshots root_snapshot_components on root_snapshot_components.project_id = snapshot_components.root_project_id and root_snapshot_components.islast = ${_true} + inner join ( + + ) authorized_projects on authorized_projects.root_project_id = root_snapshot_components.project_id + + and project_components.kee=#{componentRootKey} + and project_components.enabled = ${_true} + ) authorized_input_components and s.root_project_id = authorized_input_components.root_project_id -- 2.39.5