From f805b0be08a7e6912e7ea27a48cb97168dded2d8 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 5 Dec 2013 07:44:43 +0100 Subject: SONAR-4939 Create WS to search groups by permission --- .../api/technicaldebt/server/internal/DefaultCharacteristic.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sonar-plugin-api/src/main/java/org/sonar/api/technicaldebt') 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; } -- cgit v1.2.3