From 61230167c9a9a900bc6ca047cc8777a53df2d2f8 Mon Sep 17 00:00:00 2001 From: Martin Damovsky Date: Thu, 23 Feb 2017 15:28:22 +0100 Subject: pullrequest comments and their properties - some of them are not used at the moment -> removed --- .../bitbucket/Pullrequest.java | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'src') 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) -- cgit v1.2.3