aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-27 08:18:39 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-27 08:18:39 +0100
commit2278719ddc1e4ec5cec66e627d10c4cb1e3012fc (patch)
tree0cee5c2266631b16c5a1316e42cac8e50926133e /sonar-plugin-api
parentfd1fc5ea0d851015dae0f3fe3baf7cbe555b998c (diff)
downloadsonarqube-2278719ddc1e4ec5cec66e627d10c4cb1e3012fc.tar.gz
sonarqube-2278719ddc1e4ec5cec66e627d10c4cb1e3012fc.zip
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/server/debt/internal/DefaultDebtCharacteristic.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/internal/DefaultDebtCharacteristic.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/internal/DefaultDebtCharacteristic.java
index 89cadc39aab..d9df13d4d76 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/internal/DefaultDebtCharacteristic.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/debt/internal/DefaultDebtCharacteristic.java
@@ -73,11 +73,12 @@ public class DefaultDebtCharacteristic implements DebtCharacteristic {
}
@Override
+ @CheckForNull
public Integer order() {
return order;
}
- public DefaultDebtCharacteristic setOrder(Integer order) {
+ public DefaultDebtCharacteristic setOrder(@Nullable Integer order) {
this.order = order;
return this;
}