{"action":"created","comment":{"url":"https://api.github.com/repos/eldur/jwbf/pulls/comments/22439046","id":22439046,"diff_hunk":"@@ -0,0 +1,205 @@\n+package net.sourceforge.jwbf.core.contentRep;\n+\n+import java.util.Date;\n+\n+import com.fasterxml.jackson.annotation.JsonFormat;\n+import com.fasterxml.jackson.annotation.JsonProperty;\n+import com.fasterxml.jackson.databind.PropertyNamingStrategy;\n+import com.fasterxml.jackson.databind.annotation.JsonNaming;\n+\n+@JsonNaming(PropertyNamingStrategy.LowerCaseStrategy.class)\n+//@JsonInclude(Include.NON_DEFAULT)\n+public class WatchResponse {\n+\t@JsonProperty(\"ns\")","path":"src/main/java/net/sourceforge/jwbf/core/contentRep/WatchResponse.java","position":13,"original_position":13,"commit_id":"51171c0402f7190e54a9f18cca3900606b80ed03","original_commit_id":"51171c0402f7190e54a9f18cca3900606b80ed03","user":{"login":"eldur","id":1291484,"avatar_url":"https://avatars.githubusercontent.com/u/1291484?v=3","gravatar_id":"","url":"https://api.github.com/users/eldur","html_url":"https://github.com/eldur","followers_url":"https://api.github.com/users/eldur/followers","following_url":"https://api.github.com/users/eldur/following{/other_user}","gists_url":"https://api.github.com/users/eldur/gists{/gist_id}","starred_url":"https://api.github.com/users/eldur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldur/subscriptions","organizations_url":"https://api.github.com/users/eldur/orgs","repos_url":"https://api.github.com/users/eldur/repos","events_url":"https://api.github.com/users/eldur/events{/privacy}","received_events_url":"https://api.github.com/users/eldur/received_events","type":"User","site_admin":false},"body":"Can you remove the setters in this class and use a constructor or static factory?\r\nbtw: a test will be helpful, that shows that mapping works correct :wink: ","created_at":"2015-01-04T13:05:46Z","updated_at":"2015-01-04T13:05:46Z","html_url":"https://github.com/eldur/jwbf/pull/47#discussion_r22439046","pull_request_url":"https://api.github.com/repos/eldur/jwbf/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/comments/22439046"},"html":{"href":"https://github.com/eldur/jwbf/pull/47#discussion_r22439046"},"pull_request":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/eldur/jwbf/pulls/47","id":26793446,"html_url":"https://github.com/eldur/jwbf/pull/47","diff_url":"https://github.com/eldur/jwbf/pull/47.diff","patch_url":"https://github.com/eldur/jwbf/pull/47.patch","issue_url":"https://api.github.com/repos/eldur/jwbf/issues/47","number":47,"state":"open","locked":false,"title":"WatchList","user":{"login":"Hunsu","id":6278443,"avatar_url":"https://avatars.githubusercontent.com/u/6278443?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunsu","html_url":"https://github.com/Hunsu","followers_url":"https://api.github.com/users/Hunsu/followers","following_url":"https://api.github.com/users/Hunsu/following{/other_user}","gists_url":"https://api.github.com/users/Hunsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunsu/subscriptions","organizations_url":"https://api.github.com/users/Hunsu/orgs","repos_url":"https://api.github.com/users/Hunsu/repos","events_url":"https://api.github.com/users/Hunsu/events{/privacy}","received_events_url":"https://api.github.com/users/Hunsu/received_events","type":"User","site_admin":false},"body":"I tried to program WatchList with your idea. It's the first time I use the Builder pattern so I don't know if what I did is correct. I have a problem with the copy method, do I have to create another private constructor with to which I will pass all the fields?","created_at":"2015-01-04T10:10:49Z","updated_at":"2015-01-04T13:05:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"80b359e7a48673d5b0a0965b58e346f7fd9324bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/eldur/jwbf/pulls/47/commits","review_comments_url":"https://api.github.com/repos/eldur/jwbf/pulls/47/comments","review_comment_url":"https://api.github.com/repos/eldur/jwbf/pulls/comments/{number}","comments_url":"https://api.github.com/repos/eldur/jwbf/issues/47/comments","statuses_url":"https://api.github.com/repos/eldur/jwbf/statuses/51171c0402f7190e54a9f18cca3900606b80ed03","head":{"label":"Hunsu:master","ref":"master","sha":"51171c0402f7190e54a9f18cca3900606b80ed03","user":{"login":"Hunsu","id":6278443,"avatar_url":"https://avatars.githubusercontent.com/u/6278443?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunsu","html_url":"https://github.com/Hunsu","followers_url":"https://api.github.com/users/Hunsu/followers","following_url":"https://api.github.com/users/Hunsu/following{/other_user}","gists_url":"https://api.github.com/users/Hunsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunsu/subscriptions","organizations_url":"https://api.github.com/users/Hunsu/orgs","repos_url":"https://api.github.com/users/Hunsu/repos","events_url":"https://api.github.com/users/Hunsu/events{/privacy}","received_events_url":"https://api.github.com/users/Hunsu/received_events","type":"User","site_admin":false},"repo":{"id":28635614,"name":"jwbf","full_name":"Hunsu/jwbf","owner":{"login":"Hunsu","id":6278443,"avatar_url":"https://avatars.githubusercontent.com/u/6278443?v=3","gravatar_id":"","url":"https://api.github.com/users/Hunsu","html_url":"https://github.com/Hunsu","followers_url":"https://api.github.com/users/Hunsu/followers","following_url":"https://api.github.com/users/Hunsu/following{/other_user}","gists_url":"https://api.github.com/users/Hunsu/gists{/gist_id}","starred_url":"https://api.github.com/users/Hunsu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hunsu/subscriptions","organizations_url":"https://api.github.com/users/Hunsu/orgs","repos_url":"https://api.github.com/users/Hunsu/repos","events_url":"https://api.github.com/users/Hunsu/events{/privacy}","received_events_url":"https://api.github.com/users/Hunsu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hunsu/jwbf","description":"Java Wiki Bot Framework is a library to maintain Wikis like Wikipedia based on MediaWiki.","fork":true,"url":"https://api.github.com/repos/Hunsu/jwbf","forks_url":"https://api.github.com/repos/Hunsu/jwbf/forks","keys_url":"https://api.github.com/repos/Hunsu/jwbf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hunsu/jwbf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hunsu/jwbf/teams","hooks_url":"https://api.github.com/repos/Hunsu/jwbf/hooks","issue_events_url":"https://api.github.com/repos/Hunsu/jwbf/issues/events{/number}","events_url":"https://api.github.com/repos/Hunsu/jwbf/events","assignees_url":"https://api.github.com/repos/Hunsu/jwbf/assignees{/user}","branches_url":"https://api.github.com/repos/Hunsu/jwbf/branches{/branch}","tags_url":"https://api.github.com/repos/Hunsu/jwbf/tags","blobs_url":"https://api.github.com/repos/Hunsu/jwbf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hunsu/jwbf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hunsu/jwbf/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hunsu/jwbf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hunsu/jwbf/statuses/{sha}","languages_url":"https://api.github.com/repos/Hunsu/jwbf/languages","stargazers_url":"https://api.github.com/repos/Hunsu/jwbf/stargazers","contributors_url":"https://api.github.com/repos/Hunsu/jwbf/contributors","subscribers_url":"https://api.github.com/repos/Hunsu/jwbf/subscribers","subscription_url":"https://api.github.com/repos/Hunsu/jwbf/subscription","commits_url":"https://api.github.com/repos/Hunsu/jwbf/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hunsu/jwbf/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hunsu/jwbf/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hunsu/jwbf/issues/comments/{number}","contents_url":"https://api.github.com/repos/Hunsu/jwbf/contents/{+path}","compare_url":"https://api.github.com/repos/Hunsu/jwbf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hunsu/jwbf/merges","archive_url":"https://api.github.com/repos/Hunsu/jwbf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hunsu/jwbf/downloads","issues_url":"https://api.github.com/repos/Hunsu/jwbf/issues{/number}","pulls_url":"https://api.github.com/repos/Hunsu/jwbf/pulls{/number}","milestones_url":"https://api.github.com/repos/Hunsu/jwbf/milestones{/number}","notifications_url":"https://api.github.com/repos/Hunsu/jwbf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hunsu/jwbf/labels{/name}","releases_url":"https://api.github.com/repos/Hunsu/jwbf/releases{/id}","created_at":"2014-12-30T15:31:02Z","updated_at":"2015-01-04T10:03:30Z","pushed_at":"2015-01-04T10:03:29Z","git_url":"git://github.com/Hunsu/jwbf.git","ssh_url":"git@github.com:Hunsu/jwbf.git","clone_url":"https://github.com/Hunsu/jwbf.git","svn_url":"https://github.com/Hunsu/jwbf","homepage":"http://jwbf.sourceforge.net/","size":6024,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"eldur:master","ref":"master","sha":"d810b1e60cd01404e7c096b1d2904a0934a1d502","user":{"login":"eldur","id":1291484,"avatar_url":"https://avatars.githubusercontent.com/u/1291484?v=3","gravatar_id":"","url":"https://api.github.com/users/eldur","html_url":"https://github.com/eldur","followers_url":"https://api.github.com/users/eldur/followers","following_url":"https://api.github.com/users/eldur/following{/other_user}","gists_url":"https://api.github.com/users/eldur/gists{/gist_id}","starred_url":"https://api.github.com/users/eldur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldur/subscriptions","organizations_url":"https://api.github.com/users/eldur/orgs","repos_url":"https://api.github.com/users/eldur/repos","events_url":"https://api.github.com/users/eldur/events{/privacy}","received_events_url":"https://api.github.com/users/eldur/received_events","type":"User","site_admin":false},"repo":{"id":4396465,"name":"jwbf","full_name":"eldur/jwbf","owner":{"login":"eldur","id":1291484,"avatar_url":"https://avatars.githubusercontent.com/u/1291484?v=3","gravatar_id":"","url":"https://api.github.com/users/eldur","html_url":"https://github.com/eldur","followers_url":"https://api.github.com/users/eldur/followers","following_url":"https://api.github.com/users/eldur/following{/other_user}","gists_url":"https://api.github.com/users/eldur/gists{/gist_id}","starred_url":"https://api.github.com/users/eldur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eldur/subscriptions","organizations_url":"https://api.github.com/users/eldur/orgs","repos_url":"https://api.github.com/users/eldur/repos","events_url":"https://api.github.com/users/eldur/events{/privacy}","received_events_url":"https://api.github.com/users/eldur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eldur/jwbf","description":"Java Wiki Bot Framework is a library to maintain Wikis like Wikipedia based on MediaWiki.","fork":false,"url":"https://api.github.com/repos/eldur/jwbf","forks_url":"https://api.github.com/repos/eldur/jwbf/forks","keys_url":"https://api.github.com/repos/eldur/jwbf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eldur/jwbf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eldur/jwbf/teams","hooks_url":"https://api.github.com/repos/eldur/jwbf/hooks","issue_events_url":"https://api.github.com/repos/eldur/jwbf/issues/events{/number}","events_url":"https://api.github.com/repos/eldur/jwbf/events","assignees_url":"https://api.github.com/repos/eldur/jwbf/assignees{/user}","branches_url":"https://api.github.com/repos/eldur/jwbf/branches{/branch}","tags_url":"https://api.github.com/repos/eldur/jwbf/tags","blobs_url":"https://api.github.com/repos/eldur/jwbf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eldur/jwbf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eldur/jwbf/git/refs{/sha}","trees_url":"https://api.github.com/repos/eldur/jwbf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eldur/jwbf/statuses/{sha}","languages_url":"https://api.github.com/repos/eldur/jwbf/languages","stargazers_url":"https://api.github.com/repos/eldur/jwbf/stargazers","contributors_url":"https://api.github.com/repos/eldur/jwbf/contributors","subscribers_url":"https://api.github.com/repos/eldur/jwbf/subscribers","subscription_url":"https://api.github.com/repos/eldur/jwbf/subscription","commits_url":"https://api.github.com/repos/eldur/jwbf/commits{/sha}","git_commits_url":"https://api.github.com/repos/eldur/jwbf/git/commits{/sha}","comments_url":"https://api.github.com/repos/eldur/jwbf/comments{/number}","issue_comment_url":"https://api.github.com/repos/eldur/jwbf/issues/comments/{number}","contents_url":"https://api.github.com/repos/eldur/jwbf/contents/{+path}","compare_url":"https://api.github.com/repos/eldur/jwbf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eldur/jwbf/merges","archive_url":"https://api.github.com/repos/eldur/jwbf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eldur/jwbf/downloads","issues_url":"https://api.github.com/repos/eldur/jwbf/issues{/number}","pulls_url":"https://api.github.com/repos/eldur/jwbf/pulls{/number}","milestones_url":"https://api.github.com/repos/eldur/jwbf/milestones{/number}","notifications_url":"https://api.github.com/repos/eldur/jwbf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eldur/jwbf/labels{/name}","releases_url":"https://api.github.com/repos/eldur/jwbf/releases{/id}","created_at":"2012-05-21T17:45:33Z","updated_at":"2015-01-03T21:41:20Z","pushed_at":"2015-01-03T16:31:01Z","git_url":"git://github.com/eldur/jwbf.git","ssh_url":"git@github.com:eldur/jwbf.git","clone_url":"https://github.com/eldur/jwbf.git","svn_url":"https://github.com/eldur/jwbf","homepage":"http://jwbf.sourceforge.net/","size":7090,"stargazers_count":23,"watchers_count":23,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":11,"forks":14,"open_issues":11,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/47"},"html":{"href":"https://github.com/eldur/jwbf/pull/47"},"issue":{"href":"https://api.github.com/repos/eldur/jwbf/issues/47"},"comments":{"href":"https://api.github.com/repos/eldur/jwbf/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/eldur/jwbf/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/eldur/jwbf/statuses/51171c0402f7190e54a9f18cca3900606b80ed03"}}}}