{"action":"created","comment":{"url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/comments/218464084","pull_request_review_id":156407894,"id":218464084,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxODQ2NDA4NA==","diff_hunk":"@@ -596,7 +631,10 @@ public void reloadSession(String path, String userName, String botName, Boolean\n     if (sessions.containsKey(botName) && sessions.get(botName).containsKey(userName)) {\r\n       // TODO: will garbage collection clean up the bot now ?\r\n       // Or are there other handles to it?\r\n-      sessions.remove(sessions.get(botName).get(userName));\r\n+      HashMap<String, ChatData> session = new HashMap<String, ChatData>();\r\n+      session.put(userName, sessions.get(botName).get(userName));\r\n+      log.info(\"{} session removed\", sessions);\r\n+      sessions.remove(botName, session);\r","path":"src/main/java/org/myrobotlab/service/ProgramAB.java","position":92,"original_position":92,"commit_id":"bbd67366c2016c7920ece3da2399910d392b2ad2","original_commit_id":"bbd67366c2016c7920ece3da2399910d392b2ad2","user":{"login":"moz4r","id":18124594,"node_id":"MDQ6VXNlcjE4MTI0NTk0","avatar_url":"https://avatars3.githubusercontent.com/u/18124594?v=4","gravatar_id":"","url":"https://api.github.com/users/moz4r","html_url":"https://github.com/moz4r","followers_url":"https://api.github.com/users/moz4r/followers","following_url":"https://api.github.com/users/moz4r/following{/other_user}","gists_url":"https://api.github.com/users/moz4r/gists{/gist_id}","starred_url":"https://api.github.com/users/moz4r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moz4r/subscriptions","organizations_url":"https://api.github.com/users/moz4r/orgs","repos_url":"https://api.github.com/users/moz4r/repos","events_url":"https://api.github.com/users/moz4r/events{/privacy}","received_events_url":"https://api.github.com/users/moz4r/received_events","type":"User","site_admin":false},"body":"yep log.info need to move down.\r\nRestartsession() was broken, before this fix. because the old session was not deleteted like before. \r\nbecause a syntaxerror inside sessions.remove(string,hasmap<>).\r\n","created_at":"2018-09-18T14:48:19Z","updated_at":"2018-09-18T14:48:19Z","html_url":"https://github.com/MyRobotLab/myrobotlab/pull/265#discussion_r218464084","pull_request_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/comments/218464084"},"html":{"href":"https://github.com/MyRobotLab/myrobotlab/pull/265#discussion_r218464084"},"pull_request":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265"}},"in_reply_to_id":218423906},"pull_request":{"url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265","id":216289289,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2Mjg5Mjg5","html_url":"https://github.com/MyRobotLab/myrobotlab/pull/265","diff_url":"https://github.com/MyRobotLab/myrobotlab/pull/265.diff","patch_url":"https://github.com/MyRobotLab/myrobotlab/pull/265.patch","issue_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/265","number":265,"state":"open","locked":false,"title":"ProgramAB UIs format","user":{"login":"moz4r","id":18124594,"node_id":"MDQ6VXNlcjE4MTI0NTk0","avatar_url":"https://avatars3.githubusercontent.com/u/18124594?v=4","gravatar_id":"","url":"https://api.github.com/users/moz4r","html_url":"https://github.com/moz4r","followers_url":"https://api.github.com/users/moz4r/followers","following_url":"https://api.github.com/users/moz4r/following{/other_user}","gists_url":"https://api.github.com/users/moz4r/gists{/gist_id}","starred_url":"https://api.github.com/users/moz4r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moz4r/subscriptions","organizations_url":"https://api.github.com/users/moz4r/orgs","repos_url":"https://api.github.com/users/moz4r/repos","events_url":"https://api.github.com/users/moz4r/events{/privacy}","received_events_url":"https://api.github.com/users/moz4r/received_events","type":"User","site_admin":false},"body":"https://github.com/MyRobotLab/myrobotlab/issues/258","created_at":"2018-09-18T12:27:26Z","updated_at":"2018-09-18T14:48:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"651ff08b2bb30bfd60a078310c6ff350bbc7a8e1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kwatters","id":4365789,"node_id":"MDQ6VXNlcjQzNjU3ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/4365789?v=4","gravatar_id":"","url":"https://api.github.com/users/kwatters","html_url":"https://github.com/kwatters","followers_url":"https://api.github.com/users/kwatters/followers","following_url":"https://api.github.com/users/kwatters/following{/other_user}","gists_url":"https://api.github.com/users/kwatters/gists{/gist_id}","starred_url":"https://api.github.com/users/kwatters/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwatters/subscriptions","organizations_url":"https://api.github.com/users/kwatters/orgs","repos_url":"https://api.github.com/users/kwatters/repos","events_url":"https://api.github.com/users/kwatters/events{/privacy}","received_events_url":"https://api.github.com/users/kwatters/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265/commits","review_comments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265/comments","review_comment_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/265/comments","statuses_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/statuses/bbd67366c2016c7920ece3da2399910d392b2ad2","head":{"label":"MyRobotLab:ProgramAB_UI","ref":"ProgramAB_UI","sha":"bbd67366c2016c7920ece3da2399910d392b2ad2","user":{"login":"MyRobotLab","id":6167429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNjc0Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6167429?v=4","gravatar_id":"","url":"https://api.github.com/users/MyRobotLab","html_url":"https://github.com/MyRobotLab","followers_url":"https://api.github.com/users/MyRobotLab/followers","following_url":"https://api.github.com/users/MyRobotLab/following{/other_user}","gists_url":"https://api.github.com/users/MyRobotLab/gists{/gist_id}","starred_url":"https://api.github.com/users/MyRobotLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyRobotLab/subscriptions","organizations_url":"https://api.github.com/users/MyRobotLab/orgs","repos_url":"https://api.github.com/users/MyRobotLab/repos","events_url":"https://api.github.com/users/MyRobotLab/events{/privacy}","received_events_url":"https://api.github.com/users/MyRobotLab/received_events","type":"Organization","site_admin":false},"repo":{"id":18051302,"node_id":"MDEwOlJlcG9zaXRvcnkxODA1MTMwMg==","name":"myrobotlab","full_name":"MyRobotLab/myrobotlab","private":false,"owner":{"login":"MyRobotLab","id":6167429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNjc0Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6167429?v=4","gravatar_id":"","url":"https://api.github.com/users/MyRobotLab","html_url":"https://github.com/MyRobotLab","followers_url":"https://api.github.com/users/MyRobotLab/followers","following_url":"https://api.github.com/users/MyRobotLab/following{/other_user}","gists_url":"https://api.github.com/users/MyRobotLab/gists{/gist_id}","starred_url":"https://api.github.com/users/MyRobotLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyRobotLab/subscriptions","organizations_url":"https://api.github.com/users/MyRobotLab/orgs","repos_url":"https://api.github.com/users/MyRobotLab/repos","events_url":"https://api.github.com/users/MyRobotLab/events{/privacy}","received_events_url":"https://api.github.com/users/MyRobotLab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MyRobotLab/myrobotlab","description":"Open Source Java Framework for Robotics and Creative Machine Control","fork":false,"url":"https://api.github.com/repos/MyRobotLab/myrobotlab","forks_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/forks","keys_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/teams","hooks_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/hooks","issue_events_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/events{/number}","events_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/events","assignees_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/assignees{/user}","branches_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/branches{/branch}","tags_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/tags","blobs_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/statuses/{sha}","languages_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/languages","stargazers_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/stargazers","contributors_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/contributors","subscribers_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/subscribers","subscription_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/subscription","commits_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/contents/{+path}","compare_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/merges","archive_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/downloads","issues_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues{/number}","pulls_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls{/number}","milestones_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/milestones{/number}","notifications_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/labels{/name}","releases_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/releases{/id}","deployments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/deployments","created_at":"2014-03-24T03:59:27Z","updated_at":"2018-09-14T07:01:52Z","pushed_at":"2018-09-18T14:12:48Z","git_url":"git://github.com/MyRobotLab/myrobotlab.git","ssh_url":"git@github.com:MyRobotLab/myrobotlab.git","clone_url":"https://github.com/MyRobotLab/myrobotlab.git","svn_url":"https://github.com/MyRobotLab/myrobotlab","homepage":null,"size":410637,"stargazers_count":104,"watchers_count":104,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":68,"open_issues":96,"watchers":104,"default_branch":"master"}},"base":{"label":"MyRobotLab:develop","ref":"develop","sha":"76e47f336561258fc0694f4f0a0ba26b017e84a2","user":{"login":"MyRobotLab","id":6167429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNjc0Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6167429?v=4","gravatar_id":"","url":"https://api.github.com/users/MyRobotLab","html_url":"https://github.com/MyRobotLab","followers_url":"https://api.github.com/users/MyRobotLab/followers","following_url":"https://api.github.com/users/MyRobotLab/following{/other_user}","gists_url":"https://api.github.com/users/MyRobotLab/gists{/gist_id}","starred_url":"https://api.github.com/users/MyRobotLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyRobotLab/subscriptions","organizations_url":"https://api.github.com/users/MyRobotLab/orgs","repos_url":"https://api.github.com/users/MyRobotLab/repos","events_url":"https://api.github.com/users/MyRobotLab/events{/privacy}","received_events_url":"https://api.github.com/users/MyRobotLab/received_events","type":"Organization","site_admin":false},"repo":{"id":18051302,"node_id":"MDEwOlJlcG9zaXRvcnkxODA1MTMwMg==","name":"myrobotlab","full_name":"MyRobotLab/myrobotlab","private":false,"owner":{"login":"MyRobotLab","id":6167429,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYxNjc0Mjk=","avatar_url":"https://avatars0.githubusercontent.com/u/6167429?v=4","gravatar_id":"","url":"https://api.github.com/users/MyRobotLab","html_url":"https://github.com/MyRobotLab","followers_url":"https://api.github.com/users/MyRobotLab/followers","following_url":"https://api.github.com/users/MyRobotLab/following{/other_user}","gists_url":"https://api.github.com/users/MyRobotLab/gists{/gist_id}","starred_url":"https://api.github.com/users/MyRobotLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyRobotLab/subscriptions","organizations_url":"https://api.github.com/users/MyRobotLab/orgs","repos_url":"https://api.github.com/users/MyRobotLab/repos","events_url":"https://api.github.com/users/MyRobotLab/events{/privacy}","received_events_url":"https://api.github.com/users/MyRobotLab/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/MyRobotLab/myrobotlab","description":"Open Source Java Framework for Robotics and Creative Machine Control","fork":false,"url":"https://api.github.com/repos/MyRobotLab/myrobotlab","forks_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/forks","keys_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/teams","hooks_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/hooks","issue_events_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/events{/number}","events_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/events","assignees_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/assignees{/user}","branches_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/branches{/branch}","tags_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/tags","blobs_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/statuses/{sha}","languages_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/languages","stargazers_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/stargazers","contributors_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/contributors","subscribers_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/subscribers","subscription_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/subscription","commits_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/contents/{+path}","compare_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/merges","archive_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/downloads","issues_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues{/number}","pulls_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls{/number}","milestones_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/milestones{/number}","notifications_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/labels{/name}","releases_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/releases{/id}","deployments_url":"https://api.github.com/repos/MyRobotLab/myrobotlab/deployments","created_at":"2014-03-24T03:59:27Z","updated_at":"2018-09-14T07:01:52Z","pushed_at":"2018-09-18T14:12:48Z","git_url":"git://github.com/MyRobotLab/myrobotlab.git","ssh_url":"git@github.com:MyRobotLab/myrobotlab.git","clone_url":"https://github.com/MyRobotLab/myrobotlab.git","svn_url":"https://github.com/MyRobotLab/myrobotlab","homepage":null,"size":410637,"stargazers_count":104,"watchers_count":104,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"archived":false,"open_issues_count":96,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":68,"open_issues":96,"watchers":104,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265"},"html":{"href":"https://github.com/MyRobotLab/myrobotlab/pull/265"},"issue":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/265"},"comments":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/MyRobotLab/myrobotlab/statuses/bbd67366c2016c7920ece3da2399910d392b2ad2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"moz4r"}}