{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1","id":100405235,"html_url":"https://github.com/KaKaVip/Object-Util/pull/1","diff_url":"https://github.com/KaKaVip/Object-Util/pull/1.diff","patch_url":"https://github.com/KaKaVip/Object-Util/pull/1.patch","issue_url":"https://api.github.com/repos/KaKaVip/Object-Util/issues/1","number":1,"state":"open","locked":false,"title":"Include case to check for both value and reference equality","user":{"login":"b1acKr0se","id":8596158,"avatar_url":"https://avatars.githubusercontent.com/u/8596158?v=3","gravatar_id":"","url":"https://api.github.com/users/b1acKr0se","html_url":"https://github.com/b1acKr0se","followers_url":"https://api.github.com/users/b1acKr0se/followers","following_url":"https://api.github.com/users/b1acKr0se/following{/other_user}","gists_url":"https://api.github.com/users/b1acKr0se/gists{/gist_id}","starred_url":"https://api.github.com/users/b1acKr0se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1acKr0se/subscriptions","organizations_url":"https://api.github.com/users/b1acKr0se/orgs","repos_url":"https://api.github.com/users/b1acKr0se/repos","events_url":"https://api.github.com/users/b1acKr0se/events{/privacy}","received_events_url":"https://api.github.com/users/b1acKr0se/received_events","type":"User","site_admin":false},"body":"Hiện tại thì hàm equals đang chỉ check là có cùng reference (==), nên nếu dùng\r\n\r\n`ObjectUtil.equals(new String(\"Test\"), new String(\"Test\"))`\r\n\r\nsẽ trả về false mặc dù 2 String đều có cùng nội dung.\r\n\r\nĐoạn code mới đc lấy từ source code của java 7 và có thể check sự giống nhau về cả reference lẫn content. Tuy nhiên với object thì người dùng phải tự override hàm equals.","created_at":"2017-01-06T03:35:12Z","updated_at":"2017-01-06T03:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1/commits","review_comments_url":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1/comments","review_comment_url":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KaKaVip/Object-Util/issues/1/comments","statuses_url":"https://api.github.com/repos/KaKaVip/Object-Util/statuses/6d368da421379f97ae72eb115b9696e8f35ba7a5","head":{"label":"b1acKr0se:fix_equal","ref":"fix_equal","sha":"6d368da421379f97ae72eb115b9696e8f35ba7a5","user":{"login":"b1acKr0se","id":8596158,"avatar_url":"https://avatars.githubusercontent.com/u/8596158?v=3","gravatar_id":"","url":"https://api.github.com/users/b1acKr0se","html_url":"https://github.com/b1acKr0se","followers_url":"https://api.github.com/users/b1acKr0se/followers","following_url":"https://api.github.com/users/b1acKr0se/following{/other_user}","gists_url":"https://api.github.com/users/b1acKr0se/gists{/gist_id}","starred_url":"https://api.github.com/users/b1acKr0se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1acKr0se/subscriptions","organizations_url":"https://api.github.com/users/b1acKr0se/orgs","repos_url":"https://api.github.com/users/b1acKr0se/repos","events_url":"https://api.github.com/users/b1acKr0se/events{/privacy}","received_events_url":"https://api.github.com/users/b1acKr0se/received_events","type":"User","site_admin":false},"repo":{"id":78166047,"name":"Object-Util","full_name":"b1acKr0se/Object-Util","owner":{"login":"b1acKr0se","id":8596158,"avatar_url":"https://avatars.githubusercontent.com/u/8596158?v=3","gravatar_id":"","url":"https://api.github.com/users/b1acKr0se","html_url":"https://github.com/b1acKr0se","followers_url":"https://api.github.com/users/b1acKr0se/followers","following_url":"https://api.github.com/users/b1acKr0se/following{/other_user}","gists_url":"https://api.github.com/users/b1acKr0se/gists{/gist_id}","starred_url":"https://api.github.com/users/b1acKr0se/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b1acKr0se/subscriptions","organizations_url":"https://api.github.com/users/b1acKr0se/orgs","repos_url":"https://api.github.com/users/b1acKr0se/repos","events_url":"https://api.github.com/users/b1acKr0se/events{/privacy}","received_events_url":"https://api.github.com/users/b1acKr0se/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/b1acKr0se/Object-Util","description":"Utility methods for operating on objects. Library for Android by Pham Quy Hai","fork":true,"url":"https://api.github.com/repos/b1acKr0se/Object-Util","forks_url":"https://api.github.com/repos/b1acKr0se/Object-Util/forks","keys_url":"https://api.github.com/repos/b1acKr0se/Object-Util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/b1acKr0se/Object-Util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/b1acKr0se/Object-Util/teams","hooks_url":"https://api.github.com/repos/b1acKr0se/Object-Util/hooks","issue_events_url":"https://api.github.com/repos/b1acKr0se/Object-Util/issues/events{/number}","events_url":"https://api.github.com/repos/b1acKr0se/Object-Util/events","assignees_url":"https://api.github.com/repos/b1acKr0se/Object-Util/assignees{/user}","branches_url":"https://api.github.com/repos/b1acKr0se/Object-Util/branches{/branch}","tags_url":"https://api.github.com/repos/b1acKr0se/Object-Util/tags","blobs_url":"https://api.github.com/repos/b1acKr0se/Object-Util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/b1acKr0se/Object-Util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/b1acKr0se/Object-Util/git/refs{/sha}","trees_url":"https://api.github.com/repos/b1acKr0se/Object-Util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/b1acKr0se/Object-Util/statuses/{sha}","languages_url":"https://api.github.com/repos/b1acKr0se/Object-Util/languages","stargazers_url":"https://api.github.com/repos/b1acKr0se/Object-Util/stargazers","contributors_url":"https://api.github.com/repos/b1acKr0se/Object-Util/contributors","subscribers_url":"https://api.github.com/repos/b1acKr0se/Object-Util/subscribers","subscription_url":"https://api.github.com/repos/b1acKr0se/Object-Util/subscription","commits_url":"https://api.github.com/repos/b1acKr0se/Object-Util/commits{/sha}","git_commits_url":"https://api.github.com/repos/b1acKr0se/Object-Util/git/commits{/sha}","comments_url":"https://api.github.com/repos/b1acKr0se/Object-Util/comments{/number}","issue_comment_url":"https://api.github.com/repos/b1acKr0se/Object-Util/issues/comments{/number}","contents_url":"https://api.github.com/repos/b1acKr0se/Object-Util/contents/{+path}","compare_url":"https://api.github.com/repos/b1acKr0se/Object-Util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/b1acKr0se/Object-Util/merges","archive_url":"https://api.github.com/repos/b1acKr0se/Object-Util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/b1acKr0se/Object-Util/downloads","issues_url":"https://api.github.com/repos/b1acKr0se/Object-Util/issues{/number}","pulls_url":"https://api.github.com/repos/b1acKr0se/Object-Util/pulls{/number}","milestones_url":"https://api.github.com/repos/b1acKr0se/Object-Util/milestones{/number}","notifications_url":"https://api.github.com/repos/b1acKr0se/Object-Util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/b1acKr0se/Object-Util/labels{/name}","releases_url":"https://api.github.com/repos/b1acKr0se/Object-Util/releases{/id}","deployments_url":"https://api.github.com/repos/b1acKr0se/Object-Util/deployments","created_at":"2017-01-06T02:23:51Z","updated_at":"2017-01-06T02:23:54Z","pushed_at":"2017-01-06T03:31:47Z","git_url":"git://github.com/b1acKr0se/Object-Util.git","ssh_url":"git@github.com:b1acKr0se/Object-Util.git","clone_url":"https://github.com/b1acKr0se/Object-Util.git","svn_url":"https://github.com/b1acKr0se/Object-Util","homepage":"","size":91,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"KaKaVip:master","ref":"master","sha":"74d4d26347cbdf77809c3e3aac653574459e5bae","user":{"login":"KaKaVip","id":1430683,"avatar_url":"https://avatars.githubusercontent.com/u/1430683?v=3","gravatar_id":"","url":"https://api.github.com/users/KaKaVip","html_url":"https://github.com/KaKaVip","followers_url":"https://api.github.com/users/KaKaVip/followers","following_url":"https://api.github.com/users/KaKaVip/following{/other_user}","gists_url":"https://api.github.com/users/KaKaVip/gists{/gist_id}","starred_url":"https://api.github.com/users/KaKaVip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaKaVip/subscriptions","organizations_url":"https://api.github.com/users/KaKaVip/orgs","repos_url":"https://api.github.com/users/KaKaVip/repos","events_url":"https://api.github.com/users/KaKaVip/events{/privacy}","received_events_url":"https://api.github.com/users/KaKaVip/received_events","type":"User","site_admin":false},"repo":{"id":73714077,"name":"Object-Util","full_name":"KaKaVip/Object-Util","owner":{"login":"KaKaVip","id":1430683,"avatar_url":"https://avatars.githubusercontent.com/u/1430683?v=3","gravatar_id":"","url":"https://api.github.com/users/KaKaVip","html_url":"https://github.com/KaKaVip","followers_url":"https://api.github.com/users/KaKaVip/followers","following_url":"https://api.github.com/users/KaKaVip/following{/other_user}","gists_url":"https://api.github.com/users/KaKaVip/gists{/gist_id}","starred_url":"https://api.github.com/users/KaKaVip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KaKaVip/subscriptions","organizations_url":"https://api.github.com/users/KaKaVip/orgs","repos_url":"https://api.github.com/users/KaKaVip/repos","events_url":"https://api.github.com/users/KaKaVip/events{/privacy}","received_events_url":"https://api.github.com/users/KaKaVip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KaKaVip/Object-Util","description":"Utility methods for operating on objects. Library for Android by Pham Quy Hai","fork":false,"url":"https://api.github.com/repos/KaKaVip/Object-Util","forks_url":"https://api.github.com/repos/KaKaVip/Object-Util/forks","keys_url":"https://api.github.com/repos/KaKaVip/Object-Util/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KaKaVip/Object-Util/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KaKaVip/Object-Util/teams","hooks_url":"https://api.github.com/repos/KaKaVip/Object-Util/hooks","issue_events_url":"https://api.github.com/repos/KaKaVip/Object-Util/issues/events{/number}","events_url":"https://api.github.com/repos/KaKaVip/Object-Util/events","assignees_url":"https://api.github.com/repos/KaKaVip/Object-Util/assignees{/user}","branches_url":"https://api.github.com/repos/KaKaVip/Object-Util/branches{/branch}","tags_url":"https://api.github.com/repos/KaKaVip/Object-Util/tags","blobs_url":"https://api.github.com/repos/KaKaVip/Object-Util/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KaKaVip/Object-Util/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KaKaVip/Object-Util/git/refs{/sha}","trees_url":"https://api.github.com/repos/KaKaVip/Object-Util/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KaKaVip/Object-Util/statuses/{sha}","languages_url":"https://api.github.com/repos/KaKaVip/Object-Util/languages","stargazers_url":"https://api.github.com/repos/KaKaVip/Object-Util/stargazers","contributors_url":"https://api.github.com/repos/KaKaVip/Object-Util/contributors","subscribers_url":"https://api.github.com/repos/KaKaVip/Object-Util/subscribers","subscription_url":"https://api.github.com/repos/KaKaVip/Object-Util/subscription","commits_url":"https://api.github.com/repos/KaKaVip/Object-Util/commits{/sha}","git_commits_url":"https://api.github.com/repos/KaKaVip/Object-Util/git/commits{/sha}","comments_url":"https://api.github.com/repos/KaKaVip/Object-Util/comments{/number}","issue_comment_url":"https://api.github.com/repos/KaKaVip/Object-Util/issues/comments{/number}","contents_url":"https://api.github.com/repos/KaKaVip/Object-Util/contents/{+path}","compare_url":"https://api.github.com/repos/KaKaVip/Object-Util/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KaKaVip/Object-Util/merges","archive_url":"https://api.github.com/repos/KaKaVip/Object-Util/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KaKaVip/Object-Util/downloads","issues_url":"https://api.github.com/repos/KaKaVip/Object-Util/issues{/number}","pulls_url":"https://api.github.com/repos/KaKaVip/Object-Util/pulls{/number}","milestones_url":"https://api.github.com/repos/KaKaVip/Object-Util/milestones{/number}","notifications_url":"https://api.github.com/repos/KaKaVip/Object-Util/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KaKaVip/Object-Util/labels{/name}","releases_url":"https://api.github.com/repos/KaKaVip/Object-Util/releases{/id}","deployments_url":"https://api.github.com/repos/KaKaVip/Object-Util/deployments","created_at":"2016-11-14T14:44:32Z","updated_at":"2017-01-06T02:14:11Z","pushed_at":"2017-01-06T02:12:39Z","git_url":"git://github.com/KaKaVip/Object-Util.git","ssh_url":"git@github.com:KaKaVip/Object-Util.git","clone_url":"https://github.com/KaKaVip/Object-Util.git","svn_url":"https://github.com/KaKaVip/Object-Util","homepage":"","size":91,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1"},"html":{"href":"https://github.com/KaKaVip/Object-Util/pull/1"},"issue":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/issues/1"},"comments":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/KaKaVip/Object-Util/statuses/6d368da421379f97ae72eb115b9696e8f35ba7a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":21,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"b1acKr0se"}}