aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-05 07:44:43 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-05 07:44:43 +0100
commitf805b0be08a7e6912e7ea27a48cb97168dded2d8 (patch)
tree6b2ab6c261218e8f40b3fc5183b3f8725a236e46 /sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt
parentdc3496997b0c77f9fa859b6cc8411d67a870946a (diff)
downloadsonarqube-f805b0be08a7e6912e7ea27a48cb97168dded2d8.tar.gz
sonarqube-f805b0be08a7e6912e7ea27a48cb97168dded2d8.zip
SONAR-4939 Create WS to search groups by permission
Diffstat (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java b/sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java
index a65fc688303..6337f5e50fa 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt/server/internal/DefaultCharacteristic.java
@@ -58,7 +58,8 @@ public class DefaultCharacteristic implements Characteristic {
return key;
}
- public DefaultCharacteristic setKey(String key) {
+ @CheckForNull
+ public DefaultCharacteristic setKey(@Nullable String key) {
this.key = key;
return this;
}
@@ -73,11 +74,12 @@ public class DefaultCharacteristic implements Characteristic {
return this;
}
+ @CheckForNull
public Integer order() {
return order;
}
- public DefaultCharacteristic setOrder(Integer order) {
+ public DefaultCharacteristic setOrder(@Nullable Integer order) {
this.order = order;
return this;
}