aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src/main/java/org/sonar
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-03 17:27:29 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-03 17:28:54 +0100
commitf24695d415017ec78e7bc28676715fa136c0efa6 (patch)
tree8ef9ce30943b2d9281ab8d7ecd9a087e36db2ab7 /sonar-ws-client/src/main/java/org/sonar
parent9590f2207c793dad39f14f8c516479fce8549958 (diff)
downloadsonarqube-f24695d415017ec78e7bc28676715fa136c0efa6.tar.gz
sonarqube-f24695d415017ec78e7bc28676715fa136c0efa6.zip
Update groupId to subProjectId and rootIt to projectId in issues WS
Diffstat (limited to 'sonar-ws-client/src/main/java/org/sonar')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/component/Component.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/component/Component.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/component/Component.java
index 29680c2d21b..c184f9b4ae2 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/component/Component.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/component/Component.java
@@ -60,16 +60,16 @@ public class Component {
* @since 4.2
*/
@CheckForNull
- public Long groupId() {
- return JsonUtils.getLong(json, "groupId");
+ public Long subProjectId() {
+ return JsonUtils.getLong(json, "subProjectId");
}
/**
* @since 4.2
*/
@CheckForNull
- public Long rootId() {
- return JsonUtils.getLong(json, "rootId");
+ public Long projectId() {
+ return JsonUtils.getLong(json, "projectId");
}
/**