aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/component/ShowWsRequest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ShowWsRequest.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ShowWsRequest.java
index deb09670730..696b280a078 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ShowWsRequest.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/component/ShowWsRequest.java
@@ -28,6 +28,7 @@ public class ShowWsRequest {
@CheckForNull
private String key;
+ @CheckForNull
public String getId() {
return id;
}
@@ -37,6 +38,7 @@ public class ShowWsRequest {
return this;
}
+ @CheckForNull
public String getKey() {
return key;
}