]> source.dussan.org Git - sonarqube.git/commitdiff
Drop unused method PurgeMapper#deleteSnapshotMeasures()
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 24 Jan 2017 14:02:11 +0000 (15:02 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 25 Jan 2017 10:41:57 +0000 (11:41 +0100)
sonar-db/src/main/java/org/sonar/db/purge/PurgeMapper.java
sonar-db/src/main/resources/org/sonar/db/purge/PurgeMapper.xml

index 71cf08155adfea77724f60aae1461a77a3b1db8c..d81dc059f073d5a4c07a8330b2ec199a684276b6 100644 (file)
@@ -40,8 +40,6 @@ public interface PurgeMapper {
 
   void deleteAnalysisMeasures(@Param("analysisUuids") List<String> analysisUuids);
 
-  void deleteSnapshotMeasures(@Param("analysisUuids") List<String> analysisUuids);
-
   void deleteComponentMeasures(@Param("analysisUuids") List<String> analysisUuids, @Param("componentUuids") List<String> componentUuids);
 
   List<Long> selectMetricIdsWithoutHistoricalData();
index 32e07902deef80de8533bfd740a2194ddd220dff..8f70bf90514b24968002824839642d14df59d5cd 100644 (file)
       </foreach>
   </delete>
 
-  <delete id="deleteSnapshotMeasures" parameterType="map">
-    delete from project_measures
-    where
-      analysis_uuid in
-      <foreach collection="analysisUuids" open="(" close=")" item="analysisUuid" separator=",">
-        #{analysisUuid,jdbcType=VARCHAR}
-      </foreach>
-  </delete>
-
   <delete id="deleteComponentMeasures" parameterType="map">
     delete from project_measures
     where