diff options
author | Martin Damovsky <martin.damovsky@gmail.com> | 2017-02-23 19:42:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 19:42:46 +0100 |
commit | 41c25a06eab4cbfd291237946b64fe5dfdebfb4b (patch) | |
tree | 79bfbde8dba92d4278a983c281d90472b15c012d | |
parent | f20d8807e9cd4d10e21de76156f571d2b7162a53 (diff) | |
parent | 61230167c9a9a900bc6ca047cc8777a53df2d2f8 (diff) | |
download | bbprb-41c25a06eab4cbfd291237946b64fe5dfdebfb4b.tar.gz |
Merge pull request #112 from jenkinsci/comments-properties
Comments properties
-rw-r--r-- | src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/Pullrequest.java | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/Pullrequest.java b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/Pullrequest.java index 7949d5a..7ccad7d 100644 --- a/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/Pullrequest.java +++ b/src/main/java/bitbucketpullrequestbuilder/bitbucketpullrequestbuilder/bitbucket/Pullrequest.java @@ -186,8 +186,6 @@ public class Pullrequest { private Integer id; private String filename; private String content; - private String updatedOn; - private String createdOn; @Override public int compareTo(Comment target) { @@ -245,22 +243,7 @@ public class Pullrequest { } return; } - @JsonProperty("utc_last_updated") - public String getUpdatedOn() { - return updatedOn; - } - @JsonProperty("utc_last_updated") - public void setUpdatedOn(String updatedOn) { - this.updatedOn = updatedOn; - } - @JsonProperty("utc_created_on") - public String getCreatedOn() { - return createdOn; - } - @JsonProperty("utc_created_on") - public void setCreatedOn(String createdOn) { - this.createdOn = createdOn; - } + } @JsonIgnoreProperties(ignoreUnknown = true) |