{"action":"created","comment":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/38520351","id":38520351,"diff_hunk":"@@ -113,5 +113,12 @@ private void createBuilderInjectionMethod(Element element, EFragmentHolder holde\n \t\tJVar arg = method.param(paramClass, fieldName);\n \t\tmethod.body().invoke(builderArgsField, bundleHelper.getMethodNameToSave()).arg(argKeyStaticField).arg(arg);\n \t\tmethod.body()._return(_this());\n+\n+\t\tString docComment = processingEnv.getElementUtils().getDocComment(element);\n+\t\tif (docComment != null) {\n+\t\t\tmethod.javadoc().append(docComment.replaceAll(\"\\r\", \"\").trim());","path":"AndroidAnnotations/androidannotations/src/main/java/org/androidannotations/handler/FragmentArgHandler.java","position":7,"original_position":7,"commit_id":"66cd7c32e60f14858cdc152c12b9863e043772a0","original_commit_id":"66cd7c32e60f14858cdc152c12b9863e043772a0","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"body":"Yes i mean that i removed the `\\r`, sorry.\r\n\r\nthe `.getDocComment(element)` call returns comment with `\\r\\n` but when i apped that to the javadoc i get the line-break without an `*` in the line (like the first snippet). removing the `\\r` resulted in having a correctly formatted javadoc output.","created_at":"2015-09-02T11:05:13Z","updated_at":"2015-09-02T11:05:13Z","html_url":"https://github.com/excilys/androidannotations/pull/1526#discussion_r38520351","pull_request_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1526","_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments/38520351"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1526#discussion_r38520351"},"pull_request":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1526"}}},"pull_request":{"url":"https://api.github.com/repos/excilys/androidannotations/pulls/1526","id":42864255,"html_url":"https://github.com/excilys/androidannotations/pull/1526","diff_url":"https://github.com/excilys/androidannotations/pull/1526.diff","patch_url":"https://github.com/excilys/androidannotations/pull/1526.patch","issue_url":"https://api.github.com/repos/excilys/androidannotations/issues/1526","number":1526,"state":"open","locked":false,"title":"copy javadoc for Activity @Extra and @FragmentArg to thier Builder","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"body":"see https://github.com/excilys/androidannotations/issues/1525","created_at":"2015-08-19T21:07:40Z","updated_at":"2015-09-02T11:05:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8be5ba499216a905d41b08d20e0bf3b5dc9326d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1526/commits","review_comments_url":"https://api.github.com/repos/excilys/androidannotations/pulls/1526/comments","review_comment_url":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/excilys/androidannotations/issues/1526/comments","statuses_url":"https://api.github.com/repos/excilys/androidannotations/statuses/66cd7c32e60f14858cdc152c12b9863e043772a0","head":{"label":"dodgex:1525_copy_javadoc_to_builder","ref":"1525_copy_javadoc_to_builder","sha":"66cd7c32e60f14858cdc152c12b9863e043772a0","user":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"repo":{"id":13364807,"name":"androidannotations","full_name":"dodgex/androidannotations","owner":{"login":"dodgex","id":204013,"avatar_url":"https://avatars.githubusercontent.com/u/204013?v=3","gravatar_id":"","url":"https://api.github.com/users/dodgex","html_url":"https://github.com/dodgex","followers_url":"https://api.github.com/users/dodgex/followers","following_url":"https://api.github.com/users/dodgex/following{/other_user}","gists_url":"https://api.github.com/users/dodgex/gists{/gist_id}","starred_url":"https://api.github.com/users/dodgex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodgex/subscriptions","organizations_url":"https://api.github.com/users/dodgex/orgs","repos_url":"https://api.github.com/users/dodgex/repos","events_url":"https://api.github.com/users/dodgex/events{/privacy}","received_events_url":"https://api.github.com/users/dodgex/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dodgex/androidannotations","description":"Fast Android Development. Easy maintainance.","fork":true,"url":"https://api.github.com/repos/dodgex/androidannotations","forks_url":"https://api.github.com/repos/dodgex/androidannotations/forks","keys_url":"https://api.github.com/repos/dodgex/androidannotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dodgex/androidannotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dodgex/androidannotations/teams","hooks_url":"https://api.github.com/repos/dodgex/androidannotations/hooks","issue_events_url":"https://api.github.com/repos/dodgex/androidannotations/issues/events{/number}","events_url":"https://api.github.com/repos/dodgex/androidannotations/events","assignees_url":"https://api.github.com/repos/dodgex/androidannotations/assignees{/user}","branches_url":"https://api.github.com/repos/dodgex/androidannotations/branches{/branch}","tags_url":"https://api.github.com/repos/dodgex/androidannotations/tags","blobs_url":"https://api.github.com/repos/dodgex/androidannotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dodgex/androidannotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dodgex/androidannotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/dodgex/androidannotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dodgex/androidannotations/statuses/{sha}","languages_url":"https://api.github.com/repos/dodgex/androidannotations/languages","stargazers_url":"https://api.github.com/repos/dodgex/androidannotations/stargazers","contributors_url":"https://api.github.com/repos/dodgex/androidannotations/contributors","subscribers_url":"https://api.github.com/repos/dodgex/androidannotations/subscribers","subscription_url":"https://api.github.com/repos/dodgex/androidannotations/subscription","commits_url":"https://api.github.com/repos/dodgex/androidannotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/dodgex/androidannotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/dodgex/androidannotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/dodgex/androidannotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/dodgex/androidannotations/contents/{+path}","compare_url":"https://api.github.com/repos/dodgex/androidannotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dodgex/androidannotations/merges","archive_url":"https://api.github.com/repos/dodgex/androidannotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dodgex/androidannotations/downloads","issues_url":"https://api.github.com/repos/dodgex/androidannotations/issues{/number}","pulls_url":"https://api.github.com/repos/dodgex/androidannotations/pulls{/number}","milestones_url":"https://api.github.com/repos/dodgex/androidannotations/milestones{/number}","notifications_url":"https://api.github.com/repos/dodgex/androidannotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dodgex/androidannotations/labels{/name}","releases_url":"https://api.github.com/repos/dodgex/androidannotations/releases{/id}","created_at":"2013-10-06T16:13:51Z","updated_at":"2015-05-05T16:37:59Z","pushed_at":"2015-08-20T16:35:52Z","git_url":"git://github.com/dodgex/androidannotations.git","ssh_url":"git@github.com:dodgex/androidannotations.git","clone_url":"https://github.com/dodgex/androidannotations.git","svn_url":"https://github.com/dodgex/androidannotations","homepage":"http://androidannotations.org","size":22845,"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":"develop"}},"base":{"label":"excilys:develop","ref":"develop","sha":"e22828998263c0467ccf42b47ef58cd910d79840","user":{"login":"excilys","id":668697,"avatar_url":"https://avatars.githubusercontent.com/u/668697?v=3","gravatar_id":"","url":"https://api.github.com/users/excilys","html_url":"https://github.com/excilys","followers_url":"https://api.github.com/users/excilys/followers","following_url":"https://api.github.com/users/excilys/following{/other_user}","gists_url":"https://api.github.com/users/excilys/gists{/gist_id}","starred_url":"https://api.github.com/users/excilys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excilys/subscriptions","organizations_url":"https://api.github.com/users/excilys/orgs","repos_url":"https://api.github.com/users/excilys/repos","events_url":"https://api.github.com/users/excilys/events{/privacy}","received_events_url":"https://api.github.com/users/excilys/received_events","type":"Organization","site_admin":false},"repo":{"id":3116751,"name":"androidannotations","full_name":"excilys/androidannotations","owner":{"login":"excilys","id":668697,"avatar_url":"https://avatars.githubusercontent.com/u/668697?v=3","gravatar_id":"","url":"https://api.github.com/users/excilys","html_url":"https://github.com/excilys","followers_url":"https://api.github.com/users/excilys/followers","following_url":"https://api.github.com/users/excilys/following{/other_user}","gists_url":"https://api.github.com/users/excilys/gists{/gist_id}","starred_url":"https://api.github.com/users/excilys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/excilys/subscriptions","organizations_url":"https://api.github.com/users/excilys/orgs","repos_url":"https://api.github.com/users/excilys/repos","events_url":"https://api.github.com/users/excilys/events{/privacy}","received_events_url":"https://api.github.com/users/excilys/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/excilys/androidannotations","description":"Fast Android Development. Easy maintainance.","fork":false,"url":"https://api.github.com/repos/excilys/androidannotations","forks_url":"https://api.github.com/repos/excilys/androidannotations/forks","keys_url":"https://api.github.com/repos/excilys/androidannotations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/excilys/androidannotations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/excilys/androidannotations/teams","hooks_url":"https://api.github.com/repos/excilys/androidannotations/hooks","issue_events_url":"https://api.github.com/repos/excilys/androidannotations/issues/events{/number}","events_url":"https://api.github.com/repos/excilys/androidannotations/events","assignees_url":"https://api.github.com/repos/excilys/androidannotations/assignees{/user}","branches_url":"https://api.github.com/repos/excilys/androidannotations/branches{/branch}","tags_url":"https://api.github.com/repos/excilys/androidannotations/tags","blobs_url":"https://api.github.com/repos/excilys/androidannotations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/excilys/androidannotations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/excilys/androidannotations/git/refs{/sha}","trees_url":"https://api.github.com/repos/excilys/androidannotations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/excilys/androidannotations/statuses/{sha}","languages_url":"https://api.github.com/repos/excilys/androidannotations/languages","stargazers_url":"https://api.github.com/repos/excilys/androidannotations/stargazers","contributors_url":"https://api.github.com/repos/excilys/androidannotations/contributors","subscribers_url":"https://api.github.com/repos/excilys/androidannotations/subscribers","subscription_url":"https://api.github.com/repos/excilys/androidannotations/subscription","commits_url":"https://api.github.com/repos/excilys/androidannotations/commits{/sha}","git_commits_url":"https://api.github.com/repos/excilys/androidannotations/git/commits{/sha}","comments_url":"https://api.github.com/repos/excilys/androidannotations/comments{/number}","issue_comment_url":"https://api.github.com/repos/excilys/androidannotations/issues/comments{/number}","contents_url":"https://api.github.com/repos/excilys/androidannotations/contents/{+path}","compare_url":"https://api.github.com/repos/excilys/androidannotations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/excilys/androidannotations/merges","archive_url":"https://api.github.com/repos/excilys/androidannotations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/excilys/androidannotations/downloads","issues_url":"https://api.github.com/repos/excilys/androidannotations/issues{/number}","pulls_url":"https://api.github.com/repos/excilys/androidannotations/pulls{/number}","milestones_url":"https://api.github.com/repos/excilys/androidannotations/milestones{/number}","notifications_url":"https://api.github.com/repos/excilys/androidannotations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/excilys/androidannotations/labels{/name}","releases_url":"https://api.github.com/repos/excilys/androidannotations/releases{/id}","created_at":"2012-01-06T08:48:03Z","updated_at":"2015-09-02T08:55:47Z","pushed_at":"2015-08-20T16:35:53Z","git_url":"git://github.com/excilys/androidannotations.git","ssh_url":"git@github.com:excilys/androidannotations.git","clone_url":"https://github.com/excilys/androidannotations.git","svn_url":"https://github.com/excilys/androidannotations","homepage":"http://androidannotations.org","size":43421,"stargazers_count":5920,"watchers_count":5920,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1703,"mirror_url":null,"open_issues_count":82,"forks":1703,"open_issues":82,"watchers":5920,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1526"},"html":{"href":"https://github.com/excilys/androidannotations/pull/1526"},"issue":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1526"},"comments":{"href":"https://api.github.com/repos/excilys/androidannotations/issues/1526/comments"},"review_comments":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1526/comments"},"review_comment":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/excilys/androidannotations/pulls/1526/commits"},"statuses":{"href":"https://api.github.com/repos/excilys/androidannotations/statuses/66cd7c32e60f14858cdc152c12b9863e043772a0"}}}}