{"action":"created","comment":{"url":"https://api.github.com/repos/pinterest/secor/pulls/comments/38253061","id":38253061,"diff_hunk":"@@ -26,49 +26,60 @@\n  * @author Pawel Garbacki (pawel@pinterest.com)\n  */\n public class Message {\n+\n     private String mTopic;\n     private int mKafkaPartition;\n     private long mOffset;\n     private byte[] mPayload;\n \n     protected String fieldsToString() {\n-        return \"topic='\" + mTopic + '\\'' +\n-               \", kafkaPartition=\" + mKafkaPartition +\n-               \", offset=\" + mOffset +\n-               \", payload=\" + new String(mPayload);\n+\n+\treturn \"topic='\" + mTopic + '\\'' + \", kafkaPartition=\"\n+\t\t+ mKafkaPartition + \", offset=\" + mOffset + \", payload=\"\n+\t\t+ new String(mPayload);\n \n     }\n \n     @Override\n     public String toString() {\n-        return \"Message{\" + fieldsToString() + '}';\n+\n+\treturn \"Message{\" + fieldsToString() + '}';\n     }\n \n     public Message(String topic, int kafkaPartition, long offset, byte[] payload) {\n-        mTopic = topic;\n-        mKafkaPartition = kafkaPartition;\n-        mOffset = offset;\n-        mPayload = payload;\n+","path":"src/main/java/com/pinterest/secor/message/Message.java","position":34,"original_position":34,"commit_id":"03ebeb0041a973a56e7ac24bb30209b5b502f46e","original_commit_id":"03ebeb0041a973a56e7ac24bb30209b5b502f46e","user":{"login":"HenryCaiHaiying","id":7378943,"avatar_url":"https://avatars.githubusercontent.com/u/7378943?v=3","gravatar_id":"","url":"https://api.github.com/users/HenryCaiHaiying","html_url":"https://github.com/HenryCaiHaiying","followers_url":"https://api.github.com/users/HenryCaiHaiying/followers","following_url":"https://api.github.com/users/HenryCaiHaiying/following{/other_user}","gists_url":"https://api.github.com/users/HenryCaiHaiying/gists{/gist_id}","starred_url":"https://api.github.com/users/HenryCaiHaiying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HenryCaiHaiying/subscriptions","organizations_url":"https://api.github.com/users/HenryCaiHaiying/orgs","repos_url":"https://api.github.com/users/HenryCaiHaiying/repos","events_url":"https://api.github.com/users/HenryCaiHaiying/events{/privacy}","received_events_url":"https://api.github.com/users/HenryCaiHaiying/received_events","type":"User","site_admin":false},"body":"empty line","created_at":"2015-08-28T23:09:12Z","updated_at":"2015-08-28T23:09:12Z","html_url":"https://github.com/pinterest/secor/pull/112#discussion_r38253061","pull_request_url":"https://api.github.com/repos/pinterest/secor/pulls/112","_links":{"self":{"href":"https://api.github.com/repos/pinterest/secor/pulls/comments/38253061"},"html":{"href":"https://github.com/pinterest/secor/pull/112#discussion_r38253061"},"pull_request":{"href":"https://api.github.com/repos/pinterest/secor/pulls/112"}}},"pull_request":{"url":"https://api.github.com/repos/pinterest/secor/pulls/112","id":40163922,"html_url":"https://github.com/pinterest/secor/pull/112","diff_url":"https://github.com/pinterest/secor/pull/112.diff","patch_url":"https://github.com/pinterest/secor/pull/112.patch","issue_url":"https://api.github.com/repos/pinterest/secor/issues/112","number":112,"state":"open","locked":false,"title":"fix null payload bug","user":{"login":"estezz","id":2300824,"avatar_url":"https://avatars.githubusercontent.com/u/2300824?v=3","gravatar_id":"","url":"https://api.github.com/users/estezz","html_url":"https://github.com/estezz","followers_url":"https://api.github.com/users/estezz/followers","following_url":"https://api.github.com/users/estezz/following{/other_user}","gists_url":"https://api.github.com/users/estezz/gists{/gist_id}","starred_url":"https://api.github.com/users/estezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estezz/subscriptions","organizations_url":"https://api.github.com/users/estezz/orgs","repos_url":"https://api.github.com/users/estezz/repos","events_url":"https://api.github.com/users/estezz/events{/privacy}","received_events_url":"https://api.github.com/users/estezz/received_events","type":"User","site_admin":false},"body":"I and a friend at another company had this issue.  https://github.com/pinterest/secor/issues/92\r\n\r\nWe are both running this fix.","created_at":"2015-07-16T19:04:29Z","updated_at":"2015-08-28T23:09:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7e4de486fb060833bdba657fc22183cbeeb9ba8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pinterest/secor/pulls/112/commits","review_comments_url":"https://api.github.com/repos/pinterest/secor/pulls/112/comments","review_comment_url":"https://api.github.com/repos/pinterest/secor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pinterest/secor/issues/112/comments","statuses_url":"https://api.github.com/repos/pinterest/secor/statuses/03ebeb0041a973a56e7ac24bb30209b5b502f46e","head":{"label":"estezz:master","ref":"master","sha":"03ebeb0041a973a56e7ac24bb30209b5b502f46e","user":{"login":"estezz","id":2300824,"avatar_url":"https://avatars.githubusercontent.com/u/2300824?v=3","gravatar_id":"","url":"https://api.github.com/users/estezz","html_url":"https://github.com/estezz","followers_url":"https://api.github.com/users/estezz/followers","following_url":"https://api.github.com/users/estezz/following{/other_user}","gists_url":"https://api.github.com/users/estezz/gists{/gist_id}","starred_url":"https://api.github.com/users/estezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estezz/subscriptions","organizations_url":"https://api.github.com/users/estezz/orgs","repos_url":"https://api.github.com/users/estezz/repos","events_url":"https://api.github.com/users/estezz/events{/privacy}","received_events_url":"https://api.github.com/users/estezz/received_events","type":"User","site_admin":false},"repo":{"id":39214776,"name":"secor","full_name":"estezz/secor","owner":{"login":"estezz","id":2300824,"avatar_url":"https://avatars.githubusercontent.com/u/2300824?v=3","gravatar_id":"","url":"https://api.github.com/users/estezz","html_url":"https://github.com/estezz","followers_url":"https://api.github.com/users/estezz/followers","following_url":"https://api.github.com/users/estezz/following{/other_user}","gists_url":"https://api.github.com/users/estezz/gists{/gist_id}","starred_url":"https://api.github.com/users/estezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/estezz/subscriptions","organizations_url":"https://api.github.com/users/estezz/orgs","repos_url":"https://api.github.com/users/estezz/repos","events_url":"https://api.github.com/users/estezz/events{/privacy}","received_events_url":"https://api.github.com/users/estezz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/estezz/secor","description":"Secor is a service implementing Kafka log persistence","fork":true,"url":"https://api.github.com/repos/estezz/secor","forks_url":"https://api.github.com/repos/estezz/secor/forks","keys_url":"https://api.github.com/repos/estezz/secor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/estezz/secor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/estezz/secor/teams","hooks_url":"https://api.github.com/repos/estezz/secor/hooks","issue_events_url":"https://api.github.com/repos/estezz/secor/issues/events{/number}","events_url":"https://api.github.com/repos/estezz/secor/events","assignees_url":"https://api.github.com/repos/estezz/secor/assignees{/user}","branches_url":"https://api.github.com/repos/estezz/secor/branches{/branch}","tags_url":"https://api.github.com/repos/estezz/secor/tags","blobs_url":"https://api.github.com/repos/estezz/secor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/estezz/secor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/estezz/secor/git/refs{/sha}","trees_url":"https://api.github.com/repos/estezz/secor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/estezz/secor/statuses/{sha}","languages_url":"https://api.github.com/repos/estezz/secor/languages","stargazers_url":"https://api.github.com/repos/estezz/secor/stargazers","contributors_url":"https://api.github.com/repos/estezz/secor/contributors","subscribers_url":"https://api.github.com/repos/estezz/secor/subscribers","subscription_url":"https://api.github.com/repos/estezz/secor/subscription","commits_url":"https://api.github.com/repos/estezz/secor/commits{/sha}","git_commits_url":"https://api.github.com/repos/estezz/secor/git/commits{/sha}","comments_url":"https://api.github.com/repos/estezz/secor/comments{/number}","issue_comment_url":"https://api.github.com/repos/estezz/secor/issues/comments{/number}","contents_url":"https://api.github.com/repos/estezz/secor/contents/{+path}","compare_url":"https://api.github.com/repos/estezz/secor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/estezz/secor/merges","archive_url":"https://api.github.com/repos/estezz/secor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/estezz/secor/downloads","issues_url":"https://api.github.com/repos/estezz/secor/issues{/number}","pulls_url":"https://api.github.com/repos/estezz/secor/pulls{/number}","milestones_url":"https://api.github.com/repos/estezz/secor/milestones{/number}","notifications_url":"https://api.github.com/repos/estezz/secor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/estezz/secor/labels{/name}","releases_url":"https://api.github.com/repos/estezz/secor/releases{/id}","created_at":"2015-07-16T18:57:43Z","updated_at":"2015-07-16T18:57:44Z","pushed_at":"2015-08-26T22:58:26Z","git_url":"git://github.com/estezz/secor.git","ssh_url":"git@github.com:estezz/secor.git","clone_url":"https://github.com/estezz/secor.git","svn_url":"https://github.com/estezz/secor","homepage":"","size":453,"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":"pinterest:master","ref":"master","sha":"5a1ea0799efc3681ceba94bebd596460a2a21926","user":{"login":"pinterest","id":541152,"avatar_url":"https://avatars.githubusercontent.com/u/541152?v=3","gravatar_id":"","url":"https://api.github.com/users/pinterest","html_url":"https://github.com/pinterest","followers_url":"https://api.github.com/users/pinterest/followers","following_url":"https://api.github.com/users/pinterest/following{/other_user}","gists_url":"https://api.github.com/users/pinterest/gists{/gist_id}","starred_url":"https://api.github.com/users/pinterest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinterest/subscriptions","organizations_url":"https://api.github.com/users/pinterest/orgs","repos_url":"https://api.github.com/users/pinterest/repos","events_url":"https://api.github.com/users/pinterest/events{/privacy}","received_events_url":"https://api.github.com/users/pinterest/received_events","type":"Organization","site_admin":false},"repo":{"id":18818296,"name":"secor","full_name":"pinterest/secor","owner":{"login":"pinterest","id":541152,"avatar_url":"https://avatars.githubusercontent.com/u/541152?v=3","gravatar_id":"","url":"https://api.github.com/users/pinterest","html_url":"https://github.com/pinterest","followers_url":"https://api.github.com/users/pinterest/followers","following_url":"https://api.github.com/users/pinterest/following{/other_user}","gists_url":"https://api.github.com/users/pinterest/gists{/gist_id}","starred_url":"https://api.github.com/users/pinterest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinterest/subscriptions","organizations_url":"https://api.github.com/users/pinterest/orgs","repos_url":"https://api.github.com/users/pinterest/repos","events_url":"https://api.github.com/users/pinterest/events{/privacy}","received_events_url":"https://api.github.com/users/pinterest/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pinterest/secor","description":"Secor is a service implementing Kafka log persistence","fork":false,"url":"https://api.github.com/repos/pinterest/secor","forks_url":"https://api.github.com/repos/pinterest/secor/forks","keys_url":"https://api.github.com/repos/pinterest/secor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pinterest/secor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pinterest/secor/teams","hooks_url":"https://api.github.com/repos/pinterest/secor/hooks","issue_events_url":"https://api.github.com/repos/pinterest/secor/issues/events{/number}","events_url":"https://api.github.com/repos/pinterest/secor/events","assignees_url":"https://api.github.com/repos/pinterest/secor/assignees{/user}","branches_url":"https://api.github.com/repos/pinterest/secor/branches{/branch}","tags_url":"https://api.github.com/repos/pinterest/secor/tags","blobs_url":"https://api.github.com/repos/pinterest/secor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pinterest/secor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pinterest/secor/git/refs{/sha}","trees_url":"https://api.github.com/repos/pinterest/secor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pinterest/secor/statuses/{sha}","languages_url":"https://api.github.com/repos/pinterest/secor/languages","stargazers_url":"https://api.github.com/repos/pinterest/secor/stargazers","contributors_url":"https://api.github.com/repos/pinterest/secor/contributors","subscribers_url":"https://api.github.com/repos/pinterest/secor/subscribers","subscription_url":"https://api.github.com/repos/pinterest/secor/subscription","commits_url":"https://api.github.com/repos/pinterest/secor/commits{/sha}","git_commits_url":"https://api.github.com/repos/pinterest/secor/git/commits{/sha}","comments_url":"https://api.github.com/repos/pinterest/secor/comments{/number}","issue_comment_url":"https://api.github.com/repos/pinterest/secor/issues/comments{/number}","contents_url":"https://api.github.com/repos/pinterest/secor/contents/{+path}","compare_url":"https://api.github.com/repos/pinterest/secor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pinterest/secor/merges","archive_url":"https://api.github.com/repos/pinterest/secor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pinterest/secor/downloads","issues_url":"https://api.github.com/repos/pinterest/secor/issues{/number}","pulls_url":"https://api.github.com/repos/pinterest/secor/pulls{/number}","milestones_url":"https://api.github.com/repos/pinterest/secor/milestones{/number}","notifications_url":"https://api.github.com/repos/pinterest/secor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pinterest/secor/labels{/name}","releases_url":"https://api.github.com/repos/pinterest/secor/releases{/id}","created_at":"2014-04-15T22:26:44Z","updated_at":"2015-08-27T01:26:50Z","pushed_at":"2015-08-28T16:48:43Z","git_url":"git://github.com/pinterest/secor.git","ssh_url":"git@github.com:pinterest/secor.git","clone_url":"https://github.com/pinterest/secor.git","svn_url":"https://github.com/pinterest/secor","homepage":"","size":1342,"stargazers_count":380,"watchers_count":380,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":121,"mirror_url":null,"open_issues_count":27,"forks":121,"open_issues":27,"watchers":380,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pinterest/secor/pulls/112"},"html":{"href":"https://github.com/pinterest/secor/pull/112"},"issue":{"href":"https://api.github.com/repos/pinterest/secor/issues/112"},"comments":{"href":"https://api.github.com/repos/pinterest/secor/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/pinterest/secor/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/pinterest/secor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pinterest/secor/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/pinterest/secor/statuses/03ebeb0041a973a56e7ac24bb30209b5b502f46e"}}}}