{"action":"created","comment":{"url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/comments/75558832","id":75558832,"diff_hunk":"@@ -73,6 +93,21 @@\n \n     private boolean walkingFromFinish = false;\n \n+    protected NodeType currentType;\n+    protected NodeType nextType;","path":"src/main/java/org/jenkinsci/plugins/workflow/graphanalysis/ForkScanner.java","position":64,"original_position":64,"commit_id":"2030360cc8bb6c1a701e92ffec8fa70e613c62c5","original_commit_id":"2030360cc8bb6c1a701e92ffec8fa70e613c62c5","user":{"login":"svanoort","id":5400948,"avatar_url":"https://avatars.githubusercontent.com/u/5400948?v=3","gravatar_id":"","url":"https://api.github.com/users/svanoort","html_url":"https://github.com/svanoort","followers_url":"https://api.github.com/users/svanoort/followers","following_url":"https://api.github.com/users/svanoort/following{/other_user}","gists_url":"https://api.github.com/users/svanoort/gists{/gist_id}","starred_url":"https://api.github.com/users/svanoort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanoort/subscriptions","organizations_url":"https://api.github.com/users/svanoort/orgs","repos_url":"https://api.github.com/users/svanoort/repos","events_url":"https://api.github.com/users/svanoort/events{/privacy}","received_events_url":"https://api.github.com/users/svanoort/received_events","type":"User","site_admin":false},"body":"@oleg-nenashev Second time: java does implicit initialization -- http://docs.oracle.com/javase/specs/jls/se7/html/jls-4.html#jls-4.12.5 -- these are null unless set. ","created_at":"2016-08-19T22:11:48Z","updated_at":"2016-08-19T22:11:48Z","html_url":"https://github.com/jenkinsci/workflow-api-plugin/pull/10#discussion_r75558832","pull_request_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/comments/75558832"},"html":{"href":"https://github.com/jenkinsci/workflow-api-plugin/pull/10#discussion_r75558832"},"pull_request":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10","id":81133134,"html_url":"https://github.com/jenkinsci/workflow-api-plugin/pull/10","diff_url":"https://github.com/jenkinsci/workflow-api-plugin/pull/10.diff","patch_url":"https://github.com/jenkinsci/workflow-api-plugin/pull/10.patch","issue_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/10","number":10,"state":"open","locked":false,"title":"Block scanning APIs","user":{"login":"svanoort","id":5400948,"avatar_url":"https://avatars.githubusercontent.com/u/5400948?v=3","gravatar_id":"","url":"https://api.github.com/users/svanoort","html_url":"https://github.com/svanoort","followers_url":"https://api.github.com/users/svanoort/followers","following_url":"https://api.github.com/users/svanoort/following{/other_user}","gists_url":"https://api.github.com/users/svanoort/gists{/gist_id}","starred_url":"https://api.github.com/users/svanoort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanoort/subscriptions","organizations_url":"https://api.github.com/users/svanoort/orgs","repos_url":"https://api.github.com/users/svanoort/repos","events_url":"https://api.github.com/users/svanoort/events{/privacy}","received_events_url":"https://api.github.com/users/svanoort/received_events","type":"User","site_admin":false},"body":"APIs:\r\n\r\nBuilds on top of #2 with a set of data structures to split into chunks (runs of nodes with a defined start & end -- they may be the same node though).\r\n\r\nCouples with the https://github.com/jenkinsci/pipeline-graph-analysis-plugin which will then provide status/timing on the chunks.\r\n\r\nIncludes:\r\n\r\n* Representations of chunks of flows and interfaces for use (providing a common representation)\r\n* Implement SimpleBlockVisitor invocation API to consume SAX-like notifications of blocks & parallels info, and use the ForkScanner.visitSimpleChunks method to invoke it.\r\n\r\n@reviewbybees ","created_at":"2016-08-12T14:59:32Z","updated_at":"2016-08-19T22:11:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"040f33332dabbf1b07c89cfc621721dc454593b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10/commits","review_comments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10/comments","review_comment_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/10/comments","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/statuses/2030360cc8bb6c1a701e92ffec8fa70e613c62c5","head":{"label":"jenkinsci:block-scanning-APIs","ref":"block-scanning-APIs","sha":"2030360cc8bb6c1a701e92ffec8fa70e613c62c5","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":55527408,"name":"workflow-api-plugin","full_name":"jenkinsci/workflow-api-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/workflow-api-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin","forks_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/deployments","created_at":"2016-04-05T17:18:43Z","updated_at":"2016-06-16T14:15:12Z","pushed_at":"2016-08-19T14:40:26Z","git_url":"git://github.com/jenkinsci/workflow-api-plugin.git","ssh_url":"git@github.com:jenkinsci/workflow-api-plugin.git","clone_url":"https://github.com/jenkinsci/workflow-api-plugin.git","svn_url":"https://github.com/jenkinsci/workflow-api-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+API+Plugin","size":459,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"jenkinsci:generic-flow-analyzer","ref":"generic-flow-analyzer","sha":"606de645da9077544ffb404ff0de535069079ba4","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":55527408,"name":"workflow-api-plugin","full_name":"jenkinsci/workflow-api-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/workflow-api-plugin","description":"","fork":false,"url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin","forks_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/forks","keys_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/teams","hooks_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/hooks","issue_events_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/events","assignees_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/tags","blobs_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/languages","stargazers_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/stargazers","contributors_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/contributors","subscribers_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/subscribers","subscription_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/subscription","commits_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/merges","archive_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/downloads","issues_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/labels{/name}","releases_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/deployments","created_at":"2016-04-05T17:18:43Z","updated_at":"2016-06-16T14:15:12Z","pushed_at":"2016-08-19T14:40:26Z","git_url":"git://github.com/jenkinsci/workflow-api-plugin.git","ssh_url":"git@github.com:jenkinsci/workflow-api-plugin.git","clone_url":"https://github.com/jenkinsci/workflow-api-plugin.git","svn_url":"https://github.com/jenkinsci/workflow-api-plugin","homepage":"https://wiki.jenkins-ci.org/display/JENKINS/Pipeline+API+Plugin","size":459,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":4,"forks":8,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10"},"html":{"href":"https://github.com/jenkinsci/workflow-api-plugin/pull/10"},"issue":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/10"},"comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/jenkinsci/workflow-api-plugin/statuses/2030360cc8bb6c1a701e92ffec8fa70e613c62c5"}}}}
{"actor":{"display_login":"svanoort"}}