{"action":"created","comment":{"url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/comments/47783380","id":47783380,"diff_hunk":"@@ -16,11 +16,15 @@\n  */\n public class PluginState {","path":"src/org/openstreetmap/josm/plugins/mapillary/utils/PluginState.java","position":2,"original_position":2,"commit_id":"f7604df9e19cc6753777b93ed61211dfe04275ff","original_commit_id":"af3a640d196091c629c009c083e0ae68f414d922","user":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [A class which only has private constructors should be final](https://www.codacy.com/app/floscher/josm-mapillary-plugin/file/1585067294/issues/source?bid=3023888&fileBranchId=3024747#l17)","created_at":"2015-12-16T14:45:58Z","updated_at":"2015-12-16T14:45:58Z","html_url":"https://github.com/floscher/josm-mapillary-plugin/pull/1#discussion_r47783380","pull_request_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/comments/47783380"},"html":{"href":"https://github.com/floscher/josm-mapillary-plugin/pull/1#discussion_r47783380"},"pull_request":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1","id":53841323,"html_url":"https://github.com/floscher/josm-mapillary-plugin/pull/1","diff_url":"https://github.com/floscher/josm-mapillary-plugin/pull/1.diff","patch_url":"https://github.com/floscher/josm-mapillary-plugin/pull/1.patch","issue_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/1","number":1,"state":"open","locked":false,"title":"Mainly simplification of some passages and fixing some issues reported by static code analysis","user":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"body":"I wanted to try out the integrations with [CodeCov](https://codecov.io/github/floscher/josm-mapillary-plugin) and [Codacy](https://www.codacy.com/app/floscher/josm-mapillary-plugin), so these changes are now in a pull request instead of being directly committed.\r\n\r\nAs I wrote in the heading, I tried to simplify some overly complicated passages of the code and fixed some issues reported by static code analysis, focused on readability and performance.","created_at":"2015-12-16T13:32:35Z","updated_at":"2015-12-16T14:45:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8342d077d71c18e76109a17a740941799aa5aa4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/statuses/f7604df9e19cc6753777b93ed61211dfe04275ff","head":{"label":"floscher:improvements","ref":"improvements","sha":"f7604df9e19cc6753777b93ed61211dfe04275ff","user":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"repo":{"id":38530558,"name":"josm-mapillary-plugin","full_name":"floscher/josm-mapillary-plugin","owner":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floscher/josm-mapillary-plugin","description":"git-mirror of http://svn.openstreetmap.org/applications/editors/josm/plugins/mapillary","fork":false,"url":"https://api.github.com/repos/floscher/josm-mapillary-plugin","forks_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/forks","keys_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/teams","hooks_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/hooks","issue_events_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/events","assignees_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/tags","blobs_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/languages","stargazers_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/stargazers","contributors_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/contributors","subscribers_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/subscribers","subscription_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/subscription","commits_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/merges","archive_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/downloads","issues_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/labels{/name}","releases_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/releases{/id}","created_at":"2015-07-04T10:36:31Z","updated_at":"2015-09-15T07:58:10Z","pushed_at":"2015-12-16T14:45:50Z","git_url":"git://github.com/floscher/josm-mapillary-plugin.git","ssh_url":"git@github.com:floscher/josm-mapillary-plugin.git","clone_url":"https://github.com/floscher/josm-mapillary-plugin.git","svn_url":"https://github.com/floscher/josm-mapillary-plugin","homepage":"http://svn.openstreetmap.org/applications/editors/josm/plugins/mapillary","size":6410,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"floscher:master","ref":"master","sha":"85fff07c9da9231c4c6dc43e749e9f4db30d2b2d","user":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"repo":{"id":38530558,"name":"josm-mapillary-plugin","full_name":"floscher/josm-mapillary-plugin","owner":{"login":"floscher","id":3904348,"avatar_url":"https://avatars.githubusercontent.com/u/3904348?v=3","gravatar_id":"","url":"https://api.github.com/users/floscher","html_url":"https://github.com/floscher","followers_url":"https://api.github.com/users/floscher/followers","following_url":"https://api.github.com/users/floscher/following{/other_user}","gists_url":"https://api.github.com/users/floscher/gists{/gist_id}","starred_url":"https://api.github.com/users/floscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floscher/subscriptions","organizations_url":"https://api.github.com/users/floscher/orgs","repos_url":"https://api.github.com/users/floscher/repos","events_url":"https://api.github.com/users/floscher/events{/privacy}","received_events_url":"https://api.github.com/users/floscher/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floscher/josm-mapillary-plugin","description":"git-mirror of http://svn.openstreetmap.org/applications/editors/josm/plugins/mapillary","fork":false,"url":"https://api.github.com/repos/floscher/josm-mapillary-plugin","forks_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/forks","keys_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/teams","hooks_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/hooks","issue_events_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/events","assignees_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/tags","blobs_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/languages","stargazers_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/stargazers","contributors_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/contributors","subscribers_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/subscribers","subscription_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/subscription","commits_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/merges","archive_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/downloads","issues_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/labels{/name}","releases_url":"https://api.github.com/repos/floscher/josm-mapillary-plugin/releases{/id}","created_at":"2015-07-04T10:36:31Z","updated_at":"2015-09-15T07:58:10Z","pushed_at":"2015-12-16T14:45:50Z","git_url":"git://github.com/floscher/josm-mapillary-plugin.git","ssh_url":"git@github.com:floscher/josm-mapillary-plugin.git","clone_url":"https://github.com/floscher/josm-mapillary-plugin.git","svn_url":"https://github.com/floscher/josm-mapillary-plugin","homepage":"http://svn.openstreetmap.org/applications/editors/josm/plugins/mapillary","size":6410,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1"},"html":{"href":"https://github.com/floscher/josm-mapillary-plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/floscher/josm-mapillary-plugin/statuses/f7604df9e19cc6753777b93ed61211dfe04275ff"}}}}