]> source.dussan.org Git - sonarqube.git/commitdiff
Change visibility of a method to private
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 3 Apr 2014 12:26:49 +0000 (14:26 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 3 Apr 2014 15:52:32 +0000 (17:52 +0200)
sonar-server/src/main/java/org/sonar/server/debt/DebtModelOperations.java

index fb30b883097a5808554c61d63bde81eb0437d53a..78e21c36aeb14446410b0b0cec61092a8ad018aa 100644 (file)
@@ -231,7 +231,7 @@ public class DebtModelOperations implements ServerComponent {
     dao.update(characteristic, session);
   }
 
-  public void disableRulesDebt(List<RuleDto> ruleDtos, Integer subCharacteristicId, Date updateDate, SqlSession session) {
+  private void disableRulesDebt(List<RuleDto> ruleDtos, Integer subCharacteristicId, Date updateDate, SqlSession session) {
     for (RuleDto ruleDto : ruleDtos) {
       if (subCharacteristicId.equals(ruleDto.getSubCharacteristicId())) {
         ruleDto.setSubCharacteristicId(RuleDto.DISABLED_CHARACTERISTIC_ID);