{"action":"created","comment":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/212940352","pull_request_review_id":149669078,"id":212940352,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjk0MDM1Mg==","diff_hunk":"@@ -632,4 +661,44 @@ public void scrollInput(final int wheel)\n             this.height = h;\n         }\n     }\n+\n+    /**\n+     * Handle onHover element, element must be visible\n+     * TODO: bug: must have pos set from xml (or be not in a group)\n+     */\n+    public void handleHover(final int mx, final int my)","path":"src/main/java/com/minecolonies/blockout/Pane.java","position":66,"original_position":66,"commit_id":"f6a26410244835d50fbce85d7e568f9d1b1c5186","original_commit_id":"f6a26410244835d50fbce85d7e568f9d1b1c5186","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [The method handleHover() has an NPath complexity of 243](https://app.codacy.com/app/Minecolonies/minecolonies/pullRequest?prid=2010593)","created_at":"2018-08-27T11:09:26Z","updated_at":"2018-08-27T11:09:26Z","html_url":"https://github.com/ldtteam/minecolonies/pull/2760#discussion_r212940352","pull_request_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments/212940352"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2760#discussion_r212940352"},"pull_request":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760"}}},"pull_request":{"url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760","id":206750182,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NzUwMTgy","html_url":"https://github.com/ldtteam/minecolonies/pull/2760","diff_url":"https://github.com/ldtteam/minecolonies/pull/2760.diff","patch_url":"https://github.com/ldtteam/minecolonies/pull/2760.patch","issue_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2760","number":2760,"state":"open","locked":false,"title":"Better arrows in huts","user":{"login":"Nightenom","id":17338378,"node_id":"MDQ6VXNlcjE3MzM4Mzc4","avatar_url":"https://avatars3.githubusercontent.com/u/17338378?v=4","gravatar_id":"","url":"https://api.github.com/users/Nightenom","html_url":"https://github.com/Nightenom","followers_url":"https://api.github.com/users/Nightenom/followers","following_url":"https://api.github.com/users/Nightenom/following{/other_user}","gists_url":"https://api.github.com/users/Nightenom/gists{/gist_id}","starred_url":"https://api.github.com/users/Nightenom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nightenom/subscriptions","organizations_url":"https://api.github.com/users/Nightenom/orgs","repos_url":"https://api.github.com/users/Nightenom/repos","events_url":"https://api.github.com/users/Nightenom/events{/privacy}","received_events_url":"https://api.github.com/users/Nightenom/received_events","type":"User","site_admin":false},"body":"Don't merge till textures will be solved\r\n### Changes proposed in this pull request:\r\n- changed arrows and add page number system to all huts (is automatic for any number of pages)\r\n- add onHover (display another element of given id) and on/off/isOn functions to Pane\r\n- add dropfixx=\"{int}\" to the dropdown element to fix X value in views with absolute X different than 0\r\n\r\nReview please\r\n","created_at":"2018-08-07T16:06:19Z","updated_at":"2018-08-27T11:09:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6f630723fa55886bf7f2d06caea20dce4e6cef2a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760/commits","review_comments_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760/comments","review_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/2760/comments","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/f6a26410244835d50fbce85d7e568f9d1b1c5186","head":{"label":"ldtteam:tweak/better-arrows-in-huts","ref":"tweak/better-arrows-in-huts","sha":"f6a26410244835d50fbce85d7e568f9d1b1c5186","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-08-26T15:10:47Z","pushed_at":"2018-08-27T11:06:01Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":55319,"stargazers_count":110,"watchers_count":110,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":173,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":88,"open_issues":173,"watchers":110,"default_branch":"version/1.12"}},"base":{"label":"ldtteam:version/1.12","ref":"version/1.12","sha":"b9eab3ce1c05b4735fa14a63f6d42db25759d0d4","user":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"repo":{"id":65616760,"node_id":"MDEwOlJlcG9zaXRvcnk2NTYxNjc2MA==","name":"minecolonies","full_name":"ldtteam/minecolonies","owner":{"login":"ldtteam","id":5167336,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNjczMzY=","avatar_url":"https://avatars3.githubusercontent.com/u/5167336?v=4","gravatar_id":"","url":"https://api.github.com/users/ldtteam","html_url":"https://github.com/ldtteam","followers_url":"https://api.github.com/users/ldtteam/followers","following_url":"https://api.github.com/users/ldtteam/following{/other_user}","gists_url":"https://api.github.com/users/ldtteam/gists{/gist_id}","starred_url":"https://api.github.com/users/ldtteam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldtteam/subscriptions","organizations_url":"https://api.github.com/users/ldtteam/orgs","repos_url":"https://api.github.com/users/ldtteam/repos","events_url":"https://api.github.com/users/ldtteam/events{/privacy}","received_events_url":"https://api.github.com/users/ldtteam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ldtteam/minecolonies","description":"Minecolonies minecraft mod","fork":false,"url":"https://api.github.com/repos/ldtteam/minecolonies","forks_url":"https://api.github.com/repos/ldtteam/minecolonies/forks","keys_url":"https://api.github.com/repos/ldtteam/minecolonies/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldtteam/minecolonies/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldtteam/minecolonies/teams","hooks_url":"https://api.github.com/repos/ldtteam/minecolonies/hooks","issue_events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/events{/number}","events_url":"https://api.github.com/repos/ldtteam/minecolonies/events","assignees_url":"https://api.github.com/repos/ldtteam/minecolonies/assignees{/user}","branches_url":"https://api.github.com/repos/ldtteam/minecolonies/branches{/branch}","tags_url":"https://api.github.com/repos/ldtteam/minecolonies/tags","blobs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldtteam/minecolonies/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldtteam/minecolonies/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldtteam/minecolonies/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldtteam/minecolonies/statuses/{sha}","languages_url":"https://api.github.com/repos/ldtteam/minecolonies/languages","stargazers_url":"https://api.github.com/repos/ldtteam/minecolonies/stargazers","contributors_url":"https://api.github.com/repos/ldtteam/minecolonies/contributors","subscribers_url":"https://api.github.com/repos/ldtteam/minecolonies/subscribers","subscription_url":"https://api.github.com/repos/ldtteam/minecolonies/subscription","commits_url":"https://api.github.com/repos/ldtteam/minecolonies/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldtteam/minecolonies/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldtteam/minecolonies/contents/{+path}","compare_url":"https://api.github.com/repos/ldtteam/minecolonies/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldtteam/minecolonies/merges","archive_url":"https://api.github.com/repos/ldtteam/minecolonies/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldtteam/minecolonies/downloads","issues_url":"https://api.github.com/repos/ldtteam/minecolonies/issues{/number}","pulls_url":"https://api.github.com/repos/ldtteam/minecolonies/pulls{/number}","milestones_url":"https://api.github.com/repos/ldtteam/minecolonies/milestones{/number}","notifications_url":"https://api.github.com/repos/ldtteam/minecolonies/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/labels{/name}","releases_url":"https://api.github.com/repos/ldtteam/minecolonies/releases{/id}","deployments_url":"https://api.github.com/repos/ldtteam/minecolonies/deployments","created_at":"2016-08-13T12:45:38Z","updated_at":"2018-08-26T15:10:47Z","pushed_at":"2018-08-27T11:06:01Z","git_url":"git://github.com/ldtteam/minecolonies.git","ssh_url":"git@github.com:ldtteam/minecolonies.git","clone_url":"https://github.com/ldtteam/minecolonies.git","svn_url":"https://github.com/ldtteam/minecolonies","homepage":"http://minecolonies.com/","size":55319,"stargazers_count":110,"watchers_count":110,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":88,"mirror_url":null,"archived":false,"open_issues_count":173,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":88,"open_issues":173,"watchers":110,"default_branch":"version/1.12"}},"_links":{"self":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760"},"html":{"href":"https://github.com/ldtteam/minecolonies/pull/2760"},"issue":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2760"},"comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/issues/2760/comments"},"review_comments":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760/comments"},"review_comment":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldtteam/minecolonies/pulls/2760/commits"},"statuses":{"href":"https://api.github.com/repos/ldtteam/minecolonies/statuses/f6a26410244835d50fbce85d7e568f9d1b1c5186"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}