aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-12 09:44:10 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-12 09:53:42 +0200
commit00e962902d2e11050c9cd2e3facd54d4e3f8f820 (patch)
tree48302fa0d7f1b89af56b1700c1d6186a5dfc1c25 /sonar-ws
parent47400c9969edfc32ae4f748829804c9818e59e02 (diff)
downloadsonarqube-00e962902d2e11050c9cd2e3facd54d4e3f8f820.tar.gz
sonarqube-00e962902d2e11050c9cd2e3facd54d4e3f8f820.zip
Fix Quality flaws
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;
}