{"action":"created","comment":{"url":"https://api.github.com/repos/DreierF/MyTargets/pulls/comments/68378365","id":68378365,"diff_hunk":"@@ -209,63 +152,70 @@ private Bow buildBow() {\n     }\n \n     private void setBowType(EBowType type) {\n-        recurveBow.setChecked(type == RECURVE_BOW);\n-        compoundBow.setChecked(type == COMPOUND_BOW);\n-        longBow.setChecked(type == LONG_BOW);\n-        blankBow.setChecked(type == BARE_BOW);\n-        horseBow.setChecked(type == HORSE_BOW);\n-        yumiBow.setChecked(type == YUMI);\n+        contentBinding.recurveBow.setChecked(type == RECURVE_BOW);\n+        contentBinding.compoundBow.setChecked(type == COMPOUND_BOW);\n+        contentBinding.longBow.setChecked(type == LONG_BOW);\n+        contentBinding.blankBow.setChecked(type == BARE_BOW);\n+        contentBinding.horseBow.setChecked(type == HORSE_BOW);\n+        contentBinding.yumiBow.setChecked(type == YUMI);\n     }\n \n     private EBowType getType() {\n-        if (recurveBow.isChecked()) {\n+        if (contentBinding.recurveBow.isChecked()) {\n             return RECURVE_BOW;\n-        } else if (compoundBow.isChecked()) {\n+        } else if (contentBinding.compoundBow.isChecked()) {\n             return COMPOUND_BOW;\n-        } else if (longBow.isChecked()) {\n+        } else if (contentBinding.longBow.isChecked()) {\n             return LONG_BOW;\n-        } else if (blankBow.isChecked()) {\n+        } else if (contentBinding.blankBow.isChecked()) {\n             return BARE_BOW;\n-        } else if (horseBow.isChecked()) {\n+        } else if (contentBinding.horseBow.isChecked()) {\n             return HORSE_BOW;\n-        } else if (yumiBow.isChecked()) {\n+        } else if (contentBinding.yumiBow.isChecked()) {\n             return YUMI;\n         } else {\n             return RECURVE_BOW;\n         }\n     }\n \n-    public static class SightSettingHolder extends DynamicItemHolder<SightSetting> {\n-        @Bind(R.id.distanceSpinner)\n-        SimpleDistanceSelector distanceSpinner;\n-        @Bind(R.id.sightSetting)\n-        EditText setting;\n-        @Bind(R.id.removeSightSetting)\n-        ImageButton remove;\n+    private static class SightSettingHolder extends DynamicItemHolder<SightSetting> {\n \n-        public SightSettingHolder(View view) {\n+        private final DynamicitemSightSettingsBinding binding;\n+\n+        SightSettingHolder(View view) {\n             super(view);\n-            ButterKnife.bind(this, view);\n-        }\n+            binding = DataBindingUtil.bind(view);\n+            binding.sightSetting.addTextChangedListener(new TextWatcher() {\n+                @Override\n+                public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {","path":"app/src/main/java/de/dreier/mytargets/fragments/EditBowFragment.java","position":292,"original_position":292,"commit_id":"24886e6f6b49d96f6a0299dc5e97c6f574d91f15","original_commit_id":"24886e6f6b49d96f6a0299dc5e97c6f574d91f15","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","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://www.codacy.com/assets/images/favicon.png) Issue found: [Document empty method body](https://www.codacy.com/app/dreier-florian/MyTargets/file/2833271695/issues/source?bid=3348636&fileBranchId=3379494#l190)","created_at":"2016-06-24T10:03:52Z","updated_at":"2016-06-24T10:03:52Z","html_url":"https://github.com/DreierF/MyTargets/pull/84#discussion_r68378365","pull_request_url":"https://api.github.com/repos/DreierF/MyTargets/pulls/84","_links":{"self":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/comments/68378365"},"html":{"href":"https://github.com/DreierF/MyTargets/pull/84#discussion_r68378365"},"pull_request":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/DreierF/MyTargets/pulls/84","id":75078028,"html_url":"https://github.com/DreierF/MyTargets/pull/84","diff_url":"https://github.com/DreierF/MyTargets/pull/84.diff","patch_url":"https://github.com/DreierF/MyTargets/pull/84.patch","issue_url":"https://api.github.com/repos/DreierF/MyTargets/issues/84","number":84,"state":"open","locked":false,"title":"Replaced butter knife with data binding","user":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"body":"Closed #25 ","created_at":"2016-06-24T08:05:00Z","updated_at":"2016-06-24T10:03:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56b19ce4b653b7fdc09ce67f9c1c3f29a8347543","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DreierF/MyTargets/pulls/84/commits","review_comments_url":"https://api.github.com/repos/DreierF/MyTargets/pulls/84/comments","review_comment_url":"https://api.github.com/repos/DreierF/MyTargets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DreierF/MyTargets/issues/84/comments","statuses_url":"https://api.github.com/repos/DreierF/MyTargets/statuses/24886e6f6b49d96f6a0299dc5e97c6f574d91f15","head":{"label":"DreierF:cleanup/data_binding","ref":"cleanup/data_binding","sha":"24886e6f6b49d96f6a0299dc5e97c6f574d91f15","user":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"repo":{"id":45907349,"name":"MyTargets","full_name":"DreierF/MyTargets","owner":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DreierF/MyTargets","description":"Android app, which helps archers keep track of their training progress","fork":false,"url":"https://api.github.com/repos/DreierF/MyTargets","forks_url":"https://api.github.com/repos/DreierF/MyTargets/forks","keys_url":"https://api.github.com/repos/DreierF/MyTargets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DreierF/MyTargets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DreierF/MyTargets/teams","hooks_url":"https://api.github.com/repos/DreierF/MyTargets/hooks","issue_events_url":"https://api.github.com/repos/DreierF/MyTargets/issues/events{/number}","events_url":"https://api.github.com/repos/DreierF/MyTargets/events","assignees_url":"https://api.github.com/repos/DreierF/MyTargets/assignees{/user}","branches_url":"https://api.github.com/repos/DreierF/MyTargets/branches{/branch}","tags_url":"https://api.github.com/repos/DreierF/MyTargets/tags","blobs_url":"https://api.github.com/repos/DreierF/MyTargets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DreierF/MyTargets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DreierF/MyTargets/git/refs{/sha}","trees_url":"https://api.github.com/repos/DreierF/MyTargets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DreierF/MyTargets/statuses/{sha}","languages_url":"https://api.github.com/repos/DreierF/MyTargets/languages","stargazers_url":"https://api.github.com/repos/DreierF/MyTargets/stargazers","contributors_url":"https://api.github.com/repos/DreierF/MyTargets/contributors","subscribers_url":"https://api.github.com/repos/DreierF/MyTargets/subscribers","subscription_url":"https://api.github.com/repos/DreierF/MyTargets/subscription","commits_url":"https://api.github.com/repos/DreierF/MyTargets/commits{/sha}","git_commits_url":"https://api.github.com/repos/DreierF/MyTargets/git/commits{/sha}","comments_url":"https://api.github.com/repos/DreierF/MyTargets/comments{/number}","issue_comment_url":"https://api.github.com/repos/DreierF/MyTargets/issues/comments{/number}","contents_url":"https://api.github.com/repos/DreierF/MyTargets/contents/{+path}","compare_url":"https://api.github.com/repos/DreierF/MyTargets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DreierF/MyTargets/merges","archive_url":"https://api.github.com/repos/DreierF/MyTargets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DreierF/MyTargets/downloads","issues_url":"https://api.github.com/repos/DreierF/MyTargets/issues{/number}","pulls_url":"https://api.github.com/repos/DreierF/MyTargets/pulls{/number}","milestones_url":"https://api.github.com/repos/DreierF/MyTargets/milestones{/number}","notifications_url":"https://api.github.com/repos/DreierF/MyTargets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DreierF/MyTargets/labels{/name}","releases_url":"https://api.github.com/repos/DreierF/MyTargets/releases{/id}","deployments_url":"https://api.github.com/repos/DreierF/MyTargets/deployments","created_at":"2015-11-10T11:23:16Z","updated_at":"2016-05-08T13:11:57Z","pushed_at":"2016-06-24T09:59:10Z","git_url":"git://github.com/DreierF/MyTargets.git","ssh_url":"git@github.com:DreierF/MyTargets.git","clone_url":"https://github.com/DreierF/MyTargets.git","svn_url":"https://github.com/DreierF/MyTargets","homepage":"","size":128114,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":35,"forks":3,"open_issues":35,"watchers":3,"default_branch":"develop"}},"base":{"label":"DreierF:develop","ref":"develop","sha":"83413a45af2b5e3ef969b094b3eb96d8a184e165","user":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"repo":{"id":45907349,"name":"MyTargets","full_name":"DreierF/MyTargets","owner":{"login":"DreierF","id":5631865,"avatar_url":"https://avatars.githubusercontent.com/u/5631865?v=3","gravatar_id":"","url":"https://api.github.com/users/DreierF","html_url":"https://github.com/DreierF","followers_url":"https://api.github.com/users/DreierF/followers","following_url":"https://api.github.com/users/DreierF/following{/other_user}","gists_url":"https://api.github.com/users/DreierF/gists{/gist_id}","starred_url":"https://api.github.com/users/DreierF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreierF/subscriptions","organizations_url":"https://api.github.com/users/DreierF/orgs","repos_url":"https://api.github.com/users/DreierF/repos","events_url":"https://api.github.com/users/DreierF/events{/privacy}","received_events_url":"https://api.github.com/users/DreierF/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DreierF/MyTargets","description":"Android app, which helps archers keep track of their training progress","fork":false,"url":"https://api.github.com/repos/DreierF/MyTargets","forks_url":"https://api.github.com/repos/DreierF/MyTargets/forks","keys_url":"https://api.github.com/repos/DreierF/MyTargets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DreierF/MyTargets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DreierF/MyTargets/teams","hooks_url":"https://api.github.com/repos/DreierF/MyTargets/hooks","issue_events_url":"https://api.github.com/repos/DreierF/MyTargets/issues/events{/number}","events_url":"https://api.github.com/repos/DreierF/MyTargets/events","assignees_url":"https://api.github.com/repos/DreierF/MyTargets/assignees{/user}","branches_url":"https://api.github.com/repos/DreierF/MyTargets/branches{/branch}","tags_url":"https://api.github.com/repos/DreierF/MyTargets/tags","blobs_url":"https://api.github.com/repos/DreierF/MyTargets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DreierF/MyTargets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DreierF/MyTargets/git/refs{/sha}","trees_url":"https://api.github.com/repos/DreierF/MyTargets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DreierF/MyTargets/statuses/{sha}","languages_url":"https://api.github.com/repos/DreierF/MyTargets/languages","stargazers_url":"https://api.github.com/repos/DreierF/MyTargets/stargazers","contributors_url":"https://api.github.com/repos/DreierF/MyTargets/contributors","subscribers_url":"https://api.github.com/repos/DreierF/MyTargets/subscribers","subscription_url":"https://api.github.com/repos/DreierF/MyTargets/subscription","commits_url":"https://api.github.com/repos/DreierF/MyTargets/commits{/sha}","git_commits_url":"https://api.github.com/repos/DreierF/MyTargets/git/commits{/sha}","comments_url":"https://api.github.com/repos/DreierF/MyTargets/comments{/number}","issue_comment_url":"https://api.github.com/repos/DreierF/MyTargets/issues/comments{/number}","contents_url":"https://api.github.com/repos/DreierF/MyTargets/contents/{+path}","compare_url":"https://api.github.com/repos/DreierF/MyTargets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DreierF/MyTargets/merges","archive_url":"https://api.github.com/repos/DreierF/MyTargets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DreierF/MyTargets/downloads","issues_url":"https://api.github.com/repos/DreierF/MyTargets/issues{/number}","pulls_url":"https://api.github.com/repos/DreierF/MyTargets/pulls{/number}","milestones_url":"https://api.github.com/repos/DreierF/MyTargets/milestones{/number}","notifications_url":"https://api.github.com/repos/DreierF/MyTargets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DreierF/MyTargets/labels{/name}","releases_url":"https://api.github.com/repos/DreierF/MyTargets/releases{/id}","deployments_url":"https://api.github.com/repos/DreierF/MyTargets/deployments","created_at":"2015-11-10T11:23:16Z","updated_at":"2016-05-08T13:11:57Z","pushed_at":"2016-06-24T09:59:10Z","git_url":"git://github.com/DreierF/MyTargets.git","ssh_url":"git@github.com:DreierF/MyTargets.git","clone_url":"https://github.com/DreierF/MyTargets.git","svn_url":"https://github.com/DreierF/MyTargets","homepage":"","size":128114,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":35,"forks":3,"open_issues":35,"watchers":3,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/84"},"html":{"href":"https://github.com/DreierF/MyTargets/pull/84"},"issue":{"href":"https://api.github.com/repos/DreierF/MyTargets/issues/84"},"comments":{"href":"https://api.github.com/repos/DreierF/MyTargets/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DreierF/MyTargets/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/DreierF/MyTargets/statuses/24886e6f6b49d96f6a0299dc5e97c6f574d91f15"}}}}
{"actor":{"display_login":"codacy-bot"}}