From f24695d415017ec78e7bc28676715fa136c0efa6 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Mon, 3 Mar 2014 17:27:29 +0100 Subject: Update groupId to subProjectId and rootIt to projectId in issues WS --- .../src/main/java/org/sonar/wsclient/component/Component.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-ws-client/src/main/java/org/sonar') 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"); } /** -- cgit v1.2.3