summaryrefslogtreecommitdiffstats
path: root/sonar-ws-client
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws-client')
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ResourceUnmarshaller.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ResourceUnmarshaller.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ResourceUnmarshaller.java
index e322ac458f2..c7290c18b7d 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ResourceUnmarshaller.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/ResourceUnmarshaller.java
@@ -42,6 +42,7 @@ public class ResourceUnmarshaller extends AbstractUnmarshaller<Resource> {
.setKey(utils.getString(json, "key"))
.setName(utils.getString(json, "name"))
.setLongName(utils.getString(json, "lname"))
+ .setCopy(utils.getInteger(json, "copy"))
.setScope(utils.getString(json, "scope"))
.setQualifier(utils.getString(json, "qualifier"))
.setLanguage(utils.getString(json, "lang"))