{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/comments/31164778","id":31164778,"diff_hunk":"@@ -32,87 +29,86 @@\n \n public class RTCChangeLogParser extends ChangeLogParser {\n     private static final Logger LOGGER = Logger.getLogger(RTCChangeLogParser.class.getName());\n-\n+\t\n \t@Override\n-\tpublic ChangeLogSet<? extends Entry> parse(AbstractBuild build,\n-\t\t\tFile changelogFile) throws IOException, SAXException {\n-\t\tFileInputStream inputStream = new FileInputStream(changelogFile);\n-        CharsetDecoder decoder = Charset.forName(\"UTF-8\").newDecoder().onMalformedInput(CodingErrorAction.REPORT).onUnmappableCharacter(CodingErrorAction.REPORT); //$NON-NLS-1$\n-\t\tReader reader = new InputStreamReader(inputStream, decoder);\n-\t\treturn parse(build, reader);\n+\tpublic ChangeLogSet<? extends Entry> parse(Run build,\n+\t\t\tRepositoryBrowser<?> browser, File changeLogFile)\n+\t\t\tthrows IOException, SAXException {\n+\t\tFileReader changeLogReader = new FileReader(changeLogFile);","path":"com.ibm.team.build.hjplugin/src/main/java/com/ibm/team/build/internal/hjplugin/RTCChangeLogParser.java","position":40,"original_position":40,"commit_id":"9479857e4490b26dd146c7d677e5a70f7462d424","original_commit_id":"9479857e4490b26dd146c7d677e5a70f7462d424","user":{"login":"jglick","id":154109,"avatar_url":"https://avatars.githubusercontent.com/u/154109?v=3","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"body":"Why the change to system encoding from UTF-8?","created_at":"2015-05-27T18:27:03Z","updated_at":"2015-05-27T18:27:03Z","html_url":"https://github.com/jenkinsci/teamconcert-plugin/pull/6#discussion_r31164778","pull_request_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/comments/31164778"},"html":{"href":"https://github.com/jenkinsci/teamconcert-plugin/pull/6#discussion_r31164778"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6","id":32069681,"html_url":"https://github.com/jenkinsci/teamconcert-plugin/pull/6","diff_url":"https://github.com/jenkinsci/teamconcert-plugin/pull/6.diff","patch_url":"https://github.com/jenkinsci/teamconcert-plugin/pull/6.patch","issue_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/6","number":6,"state":"open","locked":false,"title":"Workflow plugin compatibility","user":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars.githubusercontent.com/u/1306050?v=3","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"body":"Base Jenkins required version is upgraded to 1.580.1 that version\r\nincludes the changes required by the Workflow plugin, i.e. using Job\r\ninstead of AbstractBuild. For using with workflow plugin one should use\r\na more recent Jenkins version: latest or LTS 1.596.x.\r\n\r\nThis allows for using the general SCM support in Jenkins workflow such as:\r\n\r\n    import com.ibm.team.build.internal.hjplugin.RTCScm;\r\n    import com.ibm.team.build.internal.hjplugin.RTCScm.BuildType;\r\n   \r\n    checkout changelog: true, poll: true, scm: [$class: 'RTCScm', avoidUsingToolkit: false, buildTool: '...', buildType: new BuildType(RTCScm.BUILD_DEFINITION_TYPE, '...', \"\"), credentialsId: '...', overrideGlobal: false, serverURI: '...', timeout: 480]","created_at":"2015-03-26T22:56:54Z","updated_at":"2015-05-27T18:27:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"906ac5f6242ed0bb569b3bbc8c6a0b0270f367c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/6/comments","statuses_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/statuses/9479857e4490b26dd146c7d677e5a70f7462d424","head":{"label":"zregvart:master","ref":"master","sha":"9479857e4490b26dd146c7d677e5a70f7462d424","user":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars.githubusercontent.com/u/1306050?v=3","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"repo":{"id":32914025,"name":"teamconcert-plugin","full_name":"zregvart/teamconcert-plugin","owner":{"login":"zregvart","id":1306050,"avatar_url":"https://avatars.githubusercontent.com/u/1306050?v=3","gravatar_id":"","url":"https://api.github.com/users/zregvart","html_url":"https://github.com/zregvart","followers_url":"https://api.github.com/users/zregvart/followers","following_url":"https://api.github.com/users/zregvart/following{/other_user}","gists_url":"https://api.github.com/users/zregvart/gists{/gist_id}","starred_url":"https://api.github.com/users/zregvart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zregvart/subscriptions","organizations_url":"https://api.github.com/users/zregvart/orgs","repos_url":"https://api.github.com/users/zregvart/repos","events_url":"https://api.github.com/users/zregvart/events{/privacy}","received_events_url":"https://api.github.com/users/zregvart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zregvart/teamconcert-plugin","description":"","fork":true,"url":"https://api.github.com/repos/zregvart/teamconcert-plugin","forks_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/forks","keys_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/teams","hooks_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/hooks","issue_events_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/events","assignees_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/tags","blobs_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/languages","stargazers_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/stargazers","contributors_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/contributors","subscribers_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/subscribers","subscription_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/subscription","commits_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/merges","archive_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/downloads","issues_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/labels{/name}","releases_url":"https://api.github.com/repos/zregvart/teamconcert-plugin/releases{/id}","created_at":"2015-03-26T07:43:08Z","updated_at":"2015-03-26T22:52:03Z","pushed_at":"2015-03-26T22:52:02Z","git_url":"git://github.com/zregvart/teamconcert-plugin.git","ssh_url":"git@github.com:zregvart/teamconcert-plugin.git","clone_url":"https://github.com/zregvart/teamconcert-plugin.git","svn_url":"https://github.com/zregvart/teamconcert-plugin","homepage":"","size":2323,"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":"jenkinsci:master","ref":"master","sha":"d3004e71b84bde3443f9149df80cd59eb5dc8e29","user":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"repo":{"id":8657993,"name":"teamconcert-plugin","full_name":"jenkinsci/teamconcert-plugin","owner":{"login":"jenkinsci","id":107424,"avatar_url":"https://avatars.githubusercontent.com/u/107424?v=3","gravatar_id":"","url":"https://api.github.com/users/jenkinsci","html_url":"https://github.com/jenkinsci","followers_url":"https://api.github.com/users/jenkinsci/followers","following_url":"https://api.github.com/users/jenkinsci/following{/other_user}","gists_url":"https://api.github.com/users/jenkinsci/gists{/gist_id}","starred_url":"https://api.github.com/users/jenkinsci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenkinsci/subscriptions","organizations_url":"https://api.github.com/users/jenkinsci/orgs","repos_url":"https://api.github.com/users/jenkinsci/repos","events_url":"https://api.github.com/users/jenkinsci/events{/privacy}","received_events_url":"https://api.github.com/users/jenkinsci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jenkinsci/teamconcert-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin","forks_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/releases{/id}","created_at":"2013-03-08T19:13:48Z","updated_at":"2015-04-28T17:20:41Z","pushed_at":"2015-03-26T22:56:54Z","git_url":"git://github.com/jenkinsci/teamconcert-plugin.git","ssh_url":"git@github.com:jenkinsci/teamconcert-plugin.git","clone_url":"https://github.com/jenkinsci/teamconcert-plugin.git","svn_url":"https://github.com/jenkinsci/teamconcert-plugin","homepage":"","size":2775,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6"},"html":{"href":"https://github.com/jenkinsci/teamconcert-plugin/pull/6"},"issue":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/6"},"comments":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/teamconcert-plugin/statuses/9479857e4490b26dd146c7d677e5a70f7462d424"}}}}