From: Teryk Bellahsene Date: Tue, 1 Mar 2016 13:31:24 +0000 (+0100) Subject: SONAR-7330 drop unused methods of ActiveRuleMapper X-Git-Tag: 5.5-M6~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0e8b261ae03c99c23d30496c7a4a5982c77b1524;p=sonarqube.git SONAR-7330 drop unused methods of ActiveRuleMapper --- diff --git a/sonar-db/src/main/java/org/sonar/db/qualityprofile/ActiveRuleMapper.java b/sonar-db/src/main/java/org/sonar/db/qualityprofile/ActiveRuleMapper.java index 0c63834f8c7..e7a08a978b2 100644 --- a/sonar-db/src/main/java/org/sonar/db/qualityprofile/ActiveRuleMapper.java +++ b/sonar-db/src/main/java/org/sonar/db/qualityprofile/ActiveRuleMapper.java @@ -19,10 +19,8 @@ */ package org.sonar.db.qualityprofile; -import java.sql.Timestamp; import java.util.List; import javax.annotation.CheckForNull; -import javax.annotation.Nullable; import org.apache.ibatis.annotations.Param; public interface ActiveRuleMapper { @@ -63,9 +61,5 @@ public interface ActiveRuleMapper { List selectParamsByActiveRuleIds(@Param("ids") List ids); - List selectParamsByProfileKey(String profileKey); - List selectAllParams(); - - List selectAfterDate(@Nullable Timestamp date); } diff --git a/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml b/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml index e2b43b51649..1c9eb67c767 100644 --- a/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml +++ b/sonar-db/src/main/resources/org/sonar/db/qualityprofile/ActiveRuleMapper.xml @@ -38,19 +38,6 @@ LEFT JOIN rules_profiles profile_parent ON profile_parent.kee=qp.parent_kee - - INSERT INTO active_rules (profile_id, rule_id, failure_level, inheritance, created_at, updated_at) VALUES (#{profileId}, #{ruleId}, #{severity}, #{inheritance}, #{createdAt}, #{updatedAt}) @@ -200,15 +187,6 @@ - -