{"action":"created","comment":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/51863518","id":51863518,"diff_hunk":"@@ -216,6 +229,19 @@ public ROINode findChild(Coord3D shapeCoord)\n \t\treturn null;\n \t}\n \t\n+    /**\n+     * Find the child node representing the given folder\n+     * \n+     * @param folder\n+     *            see above.\n+     * @return see above.\n+     */\n+    public ROINode findChild(FolderData folder) {\n+        if (folderMap.containsKey(folder))\n+            return folderMap.get(folder);","path":"components/insight/SRC/org/openmicroscopy/shoola/agents/measurement/util/roitable/ROINode.java","position":54,"original_position":54,"commit_id":"a2d2f4d8d0040b325f235b509a4a73c12f1c9dfb","original_commit_id":"a2d2f4d8d0040b325f235b509a4a73c12f1c9dfb","user":{"login":"mtbc","id":2630707,"avatar_url":"https://avatars.githubusercontent.com/u/2630707?v=3","gravatar_id":"","url":"https://api.github.com/users/mtbc","html_url":"https://github.com/mtbc","followers_url":"https://api.github.com/users/mtbc/followers","following_url":"https://api.github.com/users/mtbc/following{/other_user}","gists_url":"https://api.github.com/users/mtbc/gists{/gist_id}","starred_url":"https://api.github.com/users/mtbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtbc/subscriptions","organizations_url":"https://api.github.com/users/mtbc/orgs","repos_url":"https://api.github.com/users/mtbc/repos","events_url":"https://api.github.com/users/mtbc/events{/privacy}","received_events_url":"https://api.github.com/users/mtbc/received_events","type":"User","site_admin":false},"body":"Isn't this line the only of the three that you need?","created_at":"2016-02-04T12:01:12Z","updated_at":"2016-02-04T12:01:12Z","html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4458#discussion_r51863518","pull_request_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458","_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments/51863518"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4458#discussion_r51863518"},"pull_request":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458"}}},"pull_request":{"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458","id":58275873,"html_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4458","diff_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4458.diff","patch_url":"https://github.com/openmicroscopy/openmicroscopy/pull/4458.patch","issue_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4458","number":4458,"state":"open","locked":false,"title":"Insight folders step2","user":{"login":"dominikl","id":6575139,"avatar_url":"https://avatars.githubusercontent.com/u/6575139?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikl","html_url":"https://github.com/dominikl","followers_url":"https://api.github.com/users/dominikl/followers","following_url":"https://api.github.com/users/dominikl/following{/other_user}","gists_url":"https://api.github.com/users/dominikl/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikl/subscriptions","organizations_url":"https://api.github.com/users/dominikl/orgs","repos_url":"https://api.github.com/users/dominikl/repos","events_url":"https://api.github.com/users/dominikl/events{/privacy}","received_events_url":"https://api.github.com/users/dominikl/received_events","type":"User","site_admin":false},"body":"Step 2 of the Insight integration of ROI folders:\r\n- Fixed minor outstanding issues of #4450 (FolderData null checks and ROIService integration test)\r\n- Fixed ROI propagation for ROIs in multiple folders\r\n- Take folder visibility into account to determine visibility of ROIs\r\n- Display multi-level hierarchy of ROI folders\r\n\r\n**Not ready for review yet**\r\n","created_at":"2016-02-04T11:50:26Z","updated_at":"2016-02-04T12:01:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54e82ec2bc17fdc460e57cf7ac5a682efd9c0aa2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458/commits","review_comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458/comments","review_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4458/comments","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/a2d2f4d8d0040b325f235b509a4a73c12f1c9dfb","head":{"label":"dominikl:insight_folders_step2","ref":"insight_folders_step2","sha":"a2d2f4d8d0040b325f235b509a4a73c12f1c9dfb","user":{"login":"dominikl","id":6575139,"avatar_url":"https://avatars.githubusercontent.com/u/6575139?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikl","html_url":"https://github.com/dominikl","followers_url":"https://api.github.com/users/dominikl/followers","following_url":"https://api.github.com/users/dominikl/following{/other_user}","gists_url":"https://api.github.com/users/dominikl/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikl/subscriptions","organizations_url":"https://api.github.com/users/dominikl/orgs","repos_url":"https://api.github.com/users/dominikl/repos","events_url":"https://api.github.com/users/dominikl/events{/privacy}","received_events_url":"https://api.github.com/users/dominikl/received_events","type":"User","site_admin":false},"repo":{"id":16698231,"name":"openmicroscopy","full_name":"dominikl/openmicroscopy","owner":{"login":"dominikl","id":6575139,"avatar_url":"https://avatars.githubusercontent.com/u/6575139?v=3","gravatar_id":"","url":"https://api.github.com/users/dominikl","html_url":"https://github.com/dominikl","followers_url":"https://api.github.com/users/dominikl/followers","following_url":"https://api.github.com/users/dominikl/following{/other_user}","gists_url":"https://api.github.com/users/dominikl/gists{/gist_id}","starred_url":"https://api.github.com/users/dominikl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominikl/subscriptions","organizations_url":"https://api.github.com/users/dominikl/orgs","repos_url":"https://api.github.com/users/dominikl/repos","events_url":"https://api.github.com/users/dominikl/events{/privacy}","received_events_url":"https://api.github.com/users/dominikl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dominikl/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":true,"url":"https://api.github.com/repos/dominikl/openmicroscopy","forks_url":"https://api.github.com/repos/dominikl/openmicroscopy/forks","keys_url":"https://api.github.com/repos/dominikl/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dominikl/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dominikl/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/dominikl/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/dominikl/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/dominikl/openmicroscopy/events","assignees_url":"https://api.github.com/repos/dominikl/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/dominikl/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/dominikl/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/dominikl/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dominikl/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dominikl/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/dominikl/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dominikl/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/dominikl/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/dominikl/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/dominikl/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/dominikl/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/dominikl/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/dominikl/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/dominikl/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/dominikl/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/dominikl/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/dominikl/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/dominikl/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dominikl/openmicroscopy/merges","archive_url":"https://api.github.com/repos/dominikl/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dominikl/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/dominikl/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/dominikl/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/dominikl/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/dominikl/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dominikl/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/dominikl/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/dominikl/openmicroscopy/deployments","created_at":"2014-02-10T14:47:13Z","updated_at":"2015-02-06T10:38:20Z","pushed_at":"2016-02-04T11:42:41Z","git_url":"git://github.com/dominikl/openmicroscopy.git","ssh_url":"git@github.com:dominikl/openmicroscopy.git","clone_url":"https://github.com/dominikl/openmicroscopy.git","svn_url":"https://github.com/dominikl/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2098692,"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":"openmicroscopy:regions","ref":"regions","sha":"0eeeecb725cf3258dd0c5e5c432fb11020b09a87","user":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"repo":{"id":2228226,"name":"openmicroscopy","full_name":"openmicroscopy/openmicroscopy","owner":{"login":"openmicroscopy","id":975861,"avatar_url":"https://avatars.githubusercontent.com/u/975861?v=3","gravatar_id":"","url":"https://api.github.com/users/openmicroscopy","html_url":"https://github.com/openmicroscopy","followers_url":"https://api.github.com/users/openmicroscopy/followers","following_url":"https://api.github.com/users/openmicroscopy/following{/other_user}","gists_url":"https://api.github.com/users/openmicroscopy/gists{/gist_id}","starred_url":"https://api.github.com/users/openmicroscopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmicroscopy/subscriptions","organizations_url":"https://api.github.com/users/openmicroscopy/orgs","repos_url":"https://api.github.com/users/openmicroscopy/repos","events_url":"https://api.github.com/users/openmicroscopy/events{/privacy}","received_events_url":"https://api.github.com/users/openmicroscopy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmicroscopy/openmicroscopy","description":"OME (Open Microscopy Environment) develops open-source software and data format standards for the storage and manipulation of biological light microscopy data. A joint project between universities, research establishments and industry in Europe and the USA, OME has over 20 active researchers with strong links to the microscopy community. Funded by private and public research grants, OME has been a major force on the international microscopy stage since 2000.","fork":false,"url":"https://api.github.com/repos/openmicroscopy/openmicroscopy","forks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/forks","keys_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/teams","hooks_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/hooks","issue_events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/events{/number}","events_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/events","assignees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/assignees{/user}","branches_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/branches{/branch}","tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/tags","blobs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/{sha}","languages_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/languages","stargazers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/stargazers","contributors_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contributors","subscribers_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscribers","subscription_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/subscription","commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/contents/{+path}","compare_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/merges","archive_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/downloads","issues_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues{/number}","pulls_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls{/number}","milestones_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/milestones{/number}","notifications_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/labels{/name}","releases_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/releases{/id}","deployments_url":"https://api.github.com/repos/openmicroscopy/openmicroscopy/deployments","created_at":"2011-08-18T14:26:02Z","updated_at":"2016-02-03T13:32:47Z","pushed_at":"2016-02-04T11:50:26Z","git_url":"git://github.com/openmicroscopy/openmicroscopy.git","ssh_url":"git@github.com:openmicroscopy/openmicroscopy.git","clone_url":"https://github.com/openmicroscopy/openmicroscopy.git","svn_url":"https://github.com/openmicroscopy/openmicroscopy","homepage":"http://www.openmicroscopy.org","size":2144138,"stargazers_count":78,"watchers_count":78,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":40,"forks":71,"open_issues":40,"watchers":78,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458"},"html":{"href":"https://github.com/openmicroscopy/openmicroscopy/pull/4458"},"issue":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4458"},"comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/issues/4458/comments"},"review_comments":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458/comments"},"review_comment":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/pulls/4458/commits"},"statuses":{"href":"https://api.github.com/repos/openmicroscopy/openmicroscopy/statuses/a2d2f4d8d0040b325f235b509a4a73c12f1c9dfb"}}}}