{"action":"created","comment":{"url":"https://api.github.com/repos/saros-project/saros/pulls/comments/230228500","pull_request_review_id":170919868,"id":230228500,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDIyODUwMA==","diff_hunk":"@@ -0,0 +1,82 @@\n+package de.fu_berlin.inf.dpp.session;\n+\n+import de.fu_berlin.inf.dpp.SarosPluginContext;\n+import de.fu_berlin.inf.dpp.activities.SPath;\n+import de.fu_berlin.inf.dpp.filesystem.IResource;\n+\n+import org.picocontainer.annotations.Inject;\n+\n+/**\n+ * A utility class to provide easy access to functionality needing a session\n+ * object.\n+ */\n+public class SessionUtils {","path":"de.fu_berlin.inf.dpp.core/src/de/fu_berlin/inf/dpp/session/SessionUtils.java","position":13,"original_position":13,"commit_id":"72e295ab28587533321736e7c4b1b2eac9141423","original_commit_id":"72e295ab28587533321736e7c4b1b2eac9141423","user":{"login":"saros-infrastructure","id":39915837,"node_id":"MDQ6VXNlcjM5OTE1ODM3","avatar_url":"https://avatars1.githubusercontent.com/u/39915837?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-infrastructure","html_url":"https://github.com/saros-infrastructure","followers_url":"https://api.github.com/users/saros-infrastructure/followers","following_url":"https://api.github.com/users/saros-infrastructure/following{/other_user}","gists_url":"https://api.github.com/users/saros-infrastructure/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-infrastructure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-infrastructure/subscriptions","organizations_url":"https://api.github.com/users/saros-infrastructure/orgs","repos_url":"https://api.github.com/users/saros-infrastructure/repos","events_url":"https://api.github.com/users/saros-infrastructure/events{/privacy}","received_events_url":"https://api.github.com/users/saros-infrastructure/received_events","type":"User","site_admin":false},"body":"![Code Smell](https://sonarsource.github.io/sonar-github/code_smell.png 'Code Smell') Code Smell: Add a private constructor to hide the implicit public one. ([squid:S1118](https://sonarcloud.io/organizations/saros/rules#rule_key=squid%3AS1118))\n\n[See it in SonarCloud](https://sonarcloud.io/project/issues?id=saros_complete&pullRequest=293&issues=AWbRiJzSSgN4uCclDZzy&open=AWbRiJzSSgN4uCclDZzy)\n\n[ISSUE_KEY]: AWbRiJzSSgN4uCclDZzy","created_at":"2018-11-01T23:08:05Z","updated_at":"2018-11-01T23:08:05Z","html_url":"https://github.com/saros-project/saros/pull/293#discussion_r230228500","pull_request_url":"https://api.github.com/repos/saros-project/saros/pulls/293","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/saros-project/saros/pulls/comments/230228500"},"html":{"href":"https://github.com/saros-project/saros/pull/293#discussion_r230228500"},"pull_request":{"href":"https://api.github.com/repos/saros-project/saros/pulls/293"}}},"pull_request":{"url":"https://api.github.com/repos/saros-project/saros/pulls/293","id":227785009,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3Nzg1MDA5","html_url":"https://github.com/saros-project/saros/pull/293","diff_url":"https://github.com/saros-project/saros/pull/293.diff","patch_url":"https://github.com/saros-project/saros/pull/293.patch","issue_url":"https://api.github.com/repos/saros-project/saros/issues/293","number":293,"state":"open","locked":false,"title":" [INTERNAL][CORE] Add session utilities","user":{"login":"tobous","id":12495415,"node_id":"MDQ6VXNlcjEyNDk1NDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12495415?v=4","gravatar_id":"","url":"https://api.github.com/users/tobous","html_url":"https://github.com/tobous","followers_url":"https://api.github.com/users/tobous/followers","following_url":"https://api.github.com/users/tobous/following{/other_user}","gists_url":"https://api.github.com/users/tobous/gists{/gist_id}","starred_url":"https://api.github.com/users/tobous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobous/subscriptions","organizations_url":"https://api.github.com/users/tobous/orgs","repos_url":"https://api.github.com/users/tobous/repos","events_url":"https://api.github.com/users/tobous/events{/privacy}","received_events_url":"https://api.github.com/users/tobous/received_events","type":"User","site_admin":false},"body":"Adds a class containing static session utilities. The main benefit of\r\nthis utility class is that it can provide certain useful interactions\r\nwith the session without requiring the caller to have access to a\r\nsession object.\r\n\r\nCurrently, this class only provides methods to check whether a given\r\nresource is shared or not.\r\n\r\nThis class is currently only used in the IntelliJ part. But as it does not contains any functionality specific to IntelliJ and because it might be useful for other implementations, I added it to the core.\r\n\r\nIf there are other useful applications for such a static class holding a session object, the methods offered by this utility class can be expanded later on.","created_at":"2018-11-01T22:58:44Z","updated_at":"2018-11-01T23:08:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e86269a5dbba2d8aaec500c2782e3ac8f9b7911","assignee":{"login":"tobous","id":12495415,"node_id":"MDQ6VXNlcjEyNDk1NDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12495415?v=4","gravatar_id":"","url":"https://api.github.com/users/tobous","html_url":"https://github.com/tobous","followers_url":"https://api.github.com/users/tobous/followers","following_url":"https://api.github.com/users/tobous/following{/other_user}","gists_url":"https://api.github.com/users/tobous/gists{/gist_id}","starred_url":"https://api.github.com/users/tobous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobous/subscriptions","organizations_url":"https://api.github.com/users/tobous/orgs","repos_url":"https://api.github.com/users/tobous/repos","events_url":"https://api.github.com/users/tobous/events{/privacy}","received_events_url":"https://api.github.com/users/tobous/received_events","type":"User","site_admin":false},"assignees":[{"login":"tobous","id":12495415,"node_id":"MDQ6VXNlcjEyNDk1NDE1","avatar_url":"https://avatars1.githubusercontent.com/u/12495415?v=4","gravatar_id":"","url":"https://api.github.com/users/tobous","html_url":"https://github.com/tobous","followers_url":"https://api.github.com/users/tobous/followers","following_url":"https://api.github.com/users/tobous/following{/other_user}","gists_url":"https://api.github.com/users/tobous/gists{/gist_id}","starred_url":"https://api.github.com/users/tobous/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobous/subscriptions","organizations_url":"https://api.github.com/users/tobous/orgs","repos_url":"https://api.github.com/users/tobous/repos","events_url":"https://api.github.com/users/tobous/events{/privacy}","received_events_url":"https://api.github.com/users/tobous/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"m273d15","id":7346610,"node_id":"MDQ6VXNlcjczNDY2MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/7346610?v=4","gravatar_id":"","url":"https://api.github.com/users/m273d15","html_url":"https://github.com/m273d15","followers_url":"https://api.github.com/users/m273d15/followers","following_url":"https://api.github.com/users/m273d15/following{/other_user}","gists_url":"https://api.github.com/users/m273d15/gists{/gist_id}","starred_url":"https://api.github.com/users/m273d15/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m273d15/subscriptions","organizations_url":"https://api.github.com/users/m273d15/orgs","repos_url":"https://api.github.com/users/m273d15/repos","events_url":"https://api.github.com/users/m273d15/events{/privacy}","received_events_url":"https://api.github.com/users/m273d15/received_events","type":"User","site_admin":false},{"login":"srossbach","id":41400679,"node_id":"MDQ6VXNlcjQxNDAwNjc5","avatar_url":"https://avatars2.githubusercontent.com/u/41400679?v=4","gravatar_id":"","url":"https://api.github.com/users/srossbach","html_url":"https://github.com/srossbach","followers_url":"https://api.github.com/users/srossbach/followers","following_url":"https://api.github.com/users/srossbach/following{/other_user}","gists_url":"https://api.github.com/users/srossbach/gists{/gist_id}","starred_url":"https://api.github.com/users/srossbach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srossbach/subscriptions","organizations_url":"https://api.github.com/users/srossbach/orgs","repos_url":"https://api.github.com/users/srossbach/repos","events_url":"https://api.github.com/users/srossbach/events{/privacy}","received_events_url":"https://api.github.com/users/srossbach/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/saros-project/saros/pulls/293/commits","review_comments_url":"https://api.github.com/repos/saros-project/saros/pulls/293/comments","review_comment_url":"https://api.github.com/repos/saros-project/saros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/saros-project/saros/issues/293/comments","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/72e295ab28587533321736e7c4b1b2eac9141423","head":{"label":"saros-project:pr/core/add_sessionutils","ref":"pr/core/add_sessionutils","sha":"72e295ab28587533321736e7c4b1b2eac9141423","user":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"repo":{"id":11182907,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjkwNw==","name":"saros","full_name":"saros-project/saros","private":false,"owner":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/saros-project/saros","description":"Saros Plugin","fork":false,"url":"https://api.github.com/repos/saros-project/saros","forks_url":"https://api.github.com/repos/saros-project/saros/forks","keys_url":"https://api.github.com/repos/saros-project/saros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saros-project/saros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saros-project/saros/teams","hooks_url":"https://api.github.com/repos/saros-project/saros/hooks","issue_events_url":"https://api.github.com/repos/saros-project/saros/issues/events{/number}","events_url":"https://api.github.com/repos/saros-project/saros/events","assignees_url":"https://api.github.com/repos/saros-project/saros/assignees{/user}","branches_url":"https://api.github.com/repos/saros-project/saros/branches{/branch}","tags_url":"https://api.github.com/repos/saros-project/saros/tags","blobs_url":"https://api.github.com/repos/saros-project/saros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saros-project/saros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saros-project/saros/git/refs{/sha}","trees_url":"https://api.github.com/repos/saros-project/saros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/{sha}","languages_url":"https://api.github.com/repos/saros-project/saros/languages","stargazers_url":"https://api.github.com/repos/saros-project/saros/stargazers","contributors_url":"https://api.github.com/repos/saros-project/saros/contributors","subscribers_url":"https://api.github.com/repos/saros-project/saros/subscribers","subscription_url":"https://api.github.com/repos/saros-project/saros/subscription","commits_url":"https://api.github.com/repos/saros-project/saros/commits{/sha}","git_commits_url":"https://api.github.com/repos/saros-project/saros/git/commits{/sha}","comments_url":"https://api.github.com/repos/saros-project/saros/comments{/number}","issue_comment_url":"https://api.github.com/repos/saros-project/saros/issues/comments{/number}","contents_url":"https://api.github.com/repos/saros-project/saros/contents/{+path}","compare_url":"https://api.github.com/repos/saros-project/saros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saros-project/saros/merges","archive_url":"https://api.github.com/repos/saros-project/saros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saros-project/saros/downloads","issues_url":"https://api.github.com/repos/saros-project/saros/issues{/number}","pulls_url":"https://api.github.com/repos/saros-project/saros/pulls{/number}","milestones_url":"https://api.github.com/repos/saros-project/saros/milestones{/number}","notifications_url":"https://api.github.com/repos/saros-project/saros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saros-project/saros/labels{/name}","releases_url":"https://api.github.com/repos/saros-project/saros/releases{/id}","deployments_url":"https://api.github.com/repos/saros-project/saros/deployments","created_at":"2013-07-04T17:14:07Z","updated_at":"2018-10-30T14:04:51Z","pushed_at":"2018-11-01T22:58:45Z","git_url":"git://github.com/saros-project/saros.git","ssh_url":"git@github.com:saros-project/saros.git","clone_url":"https://github.com/saros-project/saros.git","svn_url":"https://github.com/saros-project/saros","homepage":"http://www.saros-project.org","size":142423,"stargazers_count":58,"watchers_count":58,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":169,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":27,"open_issues":169,"watchers":58,"default_branch":"master"}},"base":{"label":"saros-project:master","ref":"master","sha":"7e886126b82d9d6283b08056cdaf11924c51d776","user":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"repo":{"id":11182907,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MjkwNw==","name":"saros","full_name":"saros-project/saros","private":false,"owner":{"login":"saros-project","id":1419284,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTkyODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1419284?v=4","gravatar_id":"","url":"https://api.github.com/users/saros-project","html_url":"https://github.com/saros-project","followers_url":"https://api.github.com/users/saros-project/followers","following_url":"https://api.github.com/users/saros-project/following{/other_user}","gists_url":"https://api.github.com/users/saros-project/gists{/gist_id}","starred_url":"https://api.github.com/users/saros-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saros-project/subscriptions","organizations_url":"https://api.github.com/users/saros-project/orgs","repos_url":"https://api.github.com/users/saros-project/repos","events_url":"https://api.github.com/users/saros-project/events{/privacy}","received_events_url":"https://api.github.com/users/saros-project/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/saros-project/saros","description":"Saros Plugin","fork":false,"url":"https://api.github.com/repos/saros-project/saros","forks_url":"https://api.github.com/repos/saros-project/saros/forks","keys_url":"https://api.github.com/repos/saros-project/saros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/saros-project/saros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/saros-project/saros/teams","hooks_url":"https://api.github.com/repos/saros-project/saros/hooks","issue_events_url":"https://api.github.com/repos/saros-project/saros/issues/events{/number}","events_url":"https://api.github.com/repos/saros-project/saros/events","assignees_url":"https://api.github.com/repos/saros-project/saros/assignees{/user}","branches_url":"https://api.github.com/repos/saros-project/saros/branches{/branch}","tags_url":"https://api.github.com/repos/saros-project/saros/tags","blobs_url":"https://api.github.com/repos/saros-project/saros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/saros-project/saros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/saros-project/saros/git/refs{/sha}","trees_url":"https://api.github.com/repos/saros-project/saros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/saros-project/saros/statuses/{sha}","languages_url":"https://api.github.com/repos/saros-project/saros/languages","stargazers_url":"https://api.github.com/repos/saros-project/saros/stargazers","contributors_url":"https://api.github.com/repos/saros-project/saros/contributors","subscribers_url":"https://api.github.com/repos/saros-project/saros/subscribers","subscription_url":"https://api.github.com/repos/saros-project/saros/subscription","commits_url":"https://api.github.com/repos/saros-project/saros/commits{/sha}","git_commits_url":"https://api.github.com/repos/saros-project/saros/git/commits{/sha}","comments_url":"https://api.github.com/repos/saros-project/saros/comments{/number}","issue_comment_url":"https://api.github.com/repos/saros-project/saros/issues/comments{/number}","contents_url":"https://api.github.com/repos/saros-project/saros/contents/{+path}","compare_url":"https://api.github.com/repos/saros-project/saros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/saros-project/saros/merges","archive_url":"https://api.github.com/repos/saros-project/saros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/saros-project/saros/downloads","issues_url":"https://api.github.com/repos/saros-project/saros/issues{/number}","pulls_url":"https://api.github.com/repos/saros-project/saros/pulls{/number}","milestones_url":"https://api.github.com/repos/saros-project/saros/milestones{/number}","notifications_url":"https://api.github.com/repos/saros-project/saros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/saros-project/saros/labels{/name}","releases_url":"https://api.github.com/repos/saros-project/saros/releases{/id}","deployments_url":"https://api.github.com/repos/saros-project/saros/deployments","created_at":"2013-07-04T17:14:07Z","updated_at":"2018-10-30T14:04:51Z","pushed_at":"2018-11-01T22:58:45Z","git_url":"git://github.com/saros-project/saros.git","ssh_url":"git@github.com:saros-project/saros.git","clone_url":"https://github.com/saros-project/saros.git","svn_url":"https://github.com/saros-project/saros","homepage":"http://www.saros-project.org","size":142423,"stargazers_count":58,"watchers_count":58,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":169,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":27,"open_issues":169,"watchers":58,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/saros-project/saros/pulls/293"},"html":{"href":"https://github.com/saros-project/saros/pull/293"},"issue":{"href":"https://api.github.com/repos/saros-project/saros/issues/293"},"comments":{"href":"https://api.github.com/repos/saros-project/saros/issues/293/comments"},"review_comments":{"href":"https://api.github.com/repos/saros-project/saros/pulls/293/comments"},"review_comment":{"href":"https://api.github.com/repos/saros-project/saros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/saros-project/saros/pulls/293/commits"},"statuses":{"href":"https://api.github.com/repos/saros-project/saros/statuses/72e295ab28587533321736e7c4b1b2eac9141423"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"saros-infrastructure"}}