diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-04-03 09:33:04 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-04-03 10:44:33 +0200 |
commit | 3fc57d40a6f3b3e896b7417c714ac028f3e38710 (patch) | |
tree | 06531d8c96283911fa979d683484f856e32f9a00 /sonar-core/src | |
parent | d2cd57b629123d02f9334f0642502f5d5a800d60 (diff) | |
download | sonarqube-3fc57d40a6f3b3e896b7417c714ac028f3e38710.tar.gz sonarqube-3fc57d40a6f3b3e896b7417c714ac028f3e38710.zip |
Move hasCharacteristic() method from RuleDto to RulesProvider
Diffstat (limited to 'sonar-core/src')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java b/sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java index 7ce85241430..8bb8f4e38b5 100644 --- a/sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java +++ b/sonar-core/src/main/java/org/sonar/core/rule/RuleDto.java @@ -315,10 +315,6 @@ public final class RuleDto { return this; } - public boolean hasCharacteristic(){ - return (subCharacteristicId != null && !RuleDto.DISABLED_CHARACTERISTIC_ID.equals(subCharacteristicId)) || (subCharacteristicId == null && defaultSubCharacteristicId != null); - } - @Override public boolean equals(Object obj) { if (!(obj instanceof RuleDto)) { |