{"action":"created","comment":{"url":"https://api.github.com/repos/yegor256/takes/pulls/comments/53049664","id":53049664,"diff_hunk":"@@ -108,12 +75,73 @@ public int compareTo(final MediaType type) {\n      */\n     public boolean matches(final MediaType type) {\n         final String star = \"*\";\n-        return (this.high.equals(star)\n-            || type.high.equals(star)\n-            || this.high.equals(type.high))\n-            && (this.low.equals(star)\n-            || type.low.equals(star)\n-            || this.low.equals(type.low));\n+        return (this.highPart().equals(star)\n+            || type.highPart().equals(star)\n+            || this.highPart().equals(type.highPart()))\n+            && (this.lowPart().equals(star)\n+            || type.lowPart().equals(star)\n+            || this.lowPart().equals(type.lowPart()));\n+    }\n+\n+    /**\n+     * Splits the text parts.","path":"src/main/java/org/takes/facets/fork/MediaType.java","position":98,"original_position":98,"commit_id":"965e2b2b32c6ef7a422f9c8ba5ee863816e24929","original_commit_id":"965e2b2b32c6ef7a422f9c8ba5ee863816e24929","user":{"login":"mkordas","id":5467276,"avatar_url":"https://avatars.githubusercontent.com/u/5467276?v=3","gravatar_id":"","url":"https://api.github.com/users/mkordas","html_url":"https://github.com/mkordas","followers_url":"https://api.github.com/users/mkordas/followers","following_url":"https://api.github.com/users/mkordas/following{/other_user}","gists_url":"https://api.github.com/users/mkordas/gists{/gist_id}","starred_url":"https://api.github.com/users/mkordas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkordas/subscriptions","organizations_url":"https://api.github.com/users/mkordas/orgs","repos_url":"https://api.github.com/users/mkordas/repos","events_url":"https://api.github.com/users/mkordas/events{/privacy}","received_events_url":"https://api.github.com/users/mkordas/received_events","type":"User","site_admin":false},"body":"@dalifreire I don't think it is that easy, as we have limit of `2` here","created_at":"2016-02-16T17:55:02Z","updated_at":"2016-02-16T17:55:02Z","html_url":"https://github.com/yegor256/takes/pull/616#discussion_r53049664","pull_request_url":"https://api.github.com/repos/yegor256/takes/pulls/616","_links":{"self":{"href":"https://api.github.com/repos/yegor256/takes/pulls/comments/53049664"},"html":{"href":"https://github.com/yegor256/takes/pull/616#discussion_r53049664"},"pull_request":{"href":"https://api.github.com/repos/yegor256/takes/pulls/616"}}},"pull_request":{"url":"https://api.github.com/repos/yegor256/takes/pulls/616","id":59465986,"html_url":"https://github.com/yegor256/takes/pull/616","diff_url":"https://github.com/yegor256/takes/pull/616.diff","patch_url":"https://github.com/yegor256/takes/pull/616.patch","issue_url":"https://api.github.com/repos/yegor256/takes/issues/616","number":616,"state":"open","locked":false,"title":"Fix for #606.","user":{"login":"dalifreire","id":10319140,"avatar_url":"https://avatars.githubusercontent.com/u/10319140?v=3","gravatar_id":"","url":"https://api.github.com/users/dalifreire","html_url":"https://github.com/dalifreire","followers_url":"https://api.github.com/users/dalifreire/followers","following_url":"https://api.github.com/users/dalifreire/following{/other_user}","gists_url":"https://api.github.com/users/dalifreire/gists{/gist_id}","starred_url":"https://api.github.com/users/dalifreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalifreire/subscriptions","organizations_url":"https://api.github.com/users/dalifreire/orgs","repos_url":"https://api.github.com/users/dalifreire/repos","events_url":"https://api.github.com/users/dalifreire/events{/privacy}","received_events_url":"https://api.github.com/users/dalifreire/received_events","type":"User","site_admin":false},"body":"Issue #606. Puzzle 558-12fc4eff. Refactoring the code according to the rule ConstructorOnlyInitializesOrCallOtherConstructors and removing warning suppression.","created_at":"2016-02-16T09:51:46Z","updated_at":"2016-02-16T17:55:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"765235646161872ba426d403fe603a19b81156ae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/takes/pulls/616/commits","review_comments_url":"https://api.github.com/repos/yegor256/takes/pulls/616/comments","review_comment_url":"https://api.github.com/repos/yegor256/takes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/takes/issues/616/comments","statuses_url":"https://api.github.com/repos/yegor256/takes/statuses/965e2b2b32c6ef7a422f9c8ba5ee863816e24929","head":{"label":"dalifreire:master","ref":"master","sha":"965e2b2b32c6ef7a422f9c8ba5ee863816e24929","user":{"login":"dalifreire","id":10319140,"avatar_url":"https://avatars.githubusercontent.com/u/10319140?v=3","gravatar_id":"","url":"https://api.github.com/users/dalifreire","html_url":"https://github.com/dalifreire","followers_url":"https://api.github.com/users/dalifreire/followers","following_url":"https://api.github.com/users/dalifreire/following{/other_user}","gists_url":"https://api.github.com/users/dalifreire/gists{/gist_id}","starred_url":"https://api.github.com/users/dalifreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalifreire/subscriptions","organizations_url":"https://api.github.com/users/dalifreire/orgs","repos_url":"https://api.github.com/users/dalifreire/repos","events_url":"https://api.github.com/users/dalifreire/events{/privacy}","received_events_url":"https://api.github.com/users/dalifreire/received_events","type":"User","site_admin":false},"repo":{"id":51795683,"name":"takes","full_name":"dalifreire/takes","owner":{"login":"dalifreire","id":10319140,"avatar_url":"https://avatars.githubusercontent.com/u/10319140?v=3","gravatar_id":"","url":"https://api.github.com/users/dalifreire","html_url":"https://github.com/dalifreire","followers_url":"https://api.github.com/users/dalifreire/followers","following_url":"https://api.github.com/users/dalifreire/following{/other_user}","gists_url":"https://api.github.com/users/dalifreire/gists{/gist_id}","starred_url":"https://api.github.com/users/dalifreire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalifreire/subscriptions","organizations_url":"https://api.github.com/users/dalifreire/orgs","repos_url":"https://api.github.com/users/dalifreire/repos","events_url":"https://api.github.com/users/dalifreire/events{/privacy}","received_events_url":"https://api.github.com/users/dalifreire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dalifreire/takes","description":"True Object-Oriented and Immutable Java Web Framework","fork":true,"url":"https://api.github.com/repos/dalifreire/takes","forks_url":"https://api.github.com/repos/dalifreire/takes/forks","keys_url":"https://api.github.com/repos/dalifreire/takes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dalifreire/takes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dalifreire/takes/teams","hooks_url":"https://api.github.com/repos/dalifreire/takes/hooks","issue_events_url":"https://api.github.com/repos/dalifreire/takes/issues/events{/number}","events_url":"https://api.github.com/repos/dalifreire/takes/events","assignees_url":"https://api.github.com/repos/dalifreire/takes/assignees{/user}","branches_url":"https://api.github.com/repos/dalifreire/takes/branches{/branch}","tags_url":"https://api.github.com/repos/dalifreire/takes/tags","blobs_url":"https://api.github.com/repos/dalifreire/takes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dalifreire/takes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dalifreire/takes/git/refs{/sha}","trees_url":"https://api.github.com/repos/dalifreire/takes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dalifreire/takes/statuses/{sha}","languages_url":"https://api.github.com/repos/dalifreire/takes/languages","stargazers_url":"https://api.github.com/repos/dalifreire/takes/stargazers","contributors_url":"https://api.github.com/repos/dalifreire/takes/contributors","subscribers_url":"https://api.github.com/repos/dalifreire/takes/subscribers","subscription_url":"https://api.github.com/repos/dalifreire/takes/subscription","commits_url":"https://api.github.com/repos/dalifreire/takes/commits{/sha}","git_commits_url":"https://api.github.com/repos/dalifreire/takes/git/commits{/sha}","comments_url":"https://api.github.com/repos/dalifreire/takes/comments{/number}","issue_comment_url":"https://api.github.com/repos/dalifreire/takes/issues/comments{/number}","contents_url":"https://api.github.com/repos/dalifreire/takes/contents/{+path}","compare_url":"https://api.github.com/repos/dalifreire/takes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dalifreire/takes/merges","archive_url":"https://api.github.com/repos/dalifreire/takes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dalifreire/takes/downloads","issues_url":"https://api.github.com/repos/dalifreire/takes/issues{/number}","pulls_url":"https://api.github.com/repos/dalifreire/takes/pulls{/number}","milestones_url":"https://api.github.com/repos/dalifreire/takes/milestones{/number}","notifications_url":"https://api.github.com/repos/dalifreire/takes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dalifreire/takes/labels{/name}","releases_url":"https://api.github.com/repos/dalifreire/takes/releases{/id}","deployments_url":"https://api.github.com/repos/dalifreire/takes/deployments","created_at":"2016-02-16T00:22:49Z","updated_at":"2016-02-16T00:22:51Z","pushed_at":"2016-02-16T17:39:11Z","git_url":"git://github.com/dalifreire/takes.git","ssh_url":"git@github.com:dalifreire/takes.git","clone_url":"https://github.com/dalifreire/takes.git","svn_url":"https://github.com/dalifreire/takes","homepage":"http://www.takes.org","size":28821,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"10296c6a5558d90623f911716f24b40b05352baf","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":28924109,"name":"takes","full_name":"yegor256/takes","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/takes","description":"True Object-Oriented and Immutable Java Web Framework","fork":false,"url":"https://api.github.com/repos/yegor256/takes","forks_url":"https://api.github.com/repos/yegor256/takes/forks","keys_url":"https://api.github.com/repos/yegor256/takes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/takes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/takes/teams","hooks_url":"https://api.github.com/repos/yegor256/takes/hooks","issue_events_url":"https://api.github.com/repos/yegor256/takes/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/takes/events","assignees_url":"https://api.github.com/repos/yegor256/takes/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/takes/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/takes/tags","blobs_url":"https://api.github.com/repos/yegor256/takes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/takes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/takes/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/takes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/takes/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/takes/languages","stargazers_url":"https://api.github.com/repos/yegor256/takes/stargazers","contributors_url":"https://api.github.com/repos/yegor256/takes/contributors","subscribers_url":"https://api.github.com/repos/yegor256/takes/subscribers","subscription_url":"https://api.github.com/repos/yegor256/takes/subscription","commits_url":"https://api.github.com/repos/yegor256/takes/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/takes/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/takes/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/takes/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/takes/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/takes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/takes/merges","archive_url":"https://api.github.com/repos/yegor256/takes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/takes/downloads","issues_url":"https://api.github.com/repos/yegor256/takes/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/takes/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/takes/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/takes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/takes/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/takes/releases{/id}","deployments_url":"https://api.github.com/repos/yegor256/takes/deployments","created_at":"2015-01-07T16:57:47Z","updated_at":"2016-02-16T05:32:36Z","pushed_at":"2016-02-16T17:39:12Z","git_url":"git://github.com/yegor256/takes.git","ssh_url":"git@github.com:yegor256/takes.git","clone_url":"https://github.com/yegor256/takes.git","svn_url":"https://github.com/yegor256/takes","homepage":"http://www.takes.org","size":30119,"stargazers_count":148,"watchers_count":148,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":84,"mirror_url":null,"open_issues_count":80,"forks":84,"open_issues":80,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/takes/pulls/616"},"html":{"href":"https://github.com/yegor256/takes/pull/616"},"issue":{"href":"https://api.github.com/repos/yegor256/takes/issues/616"},"comments":{"href":"https://api.github.com/repos/yegor256/takes/issues/616/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/takes/pulls/616/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/takes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/takes/pulls/616/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/takes/statuses/965e2b2b32c6ef7a422f9c8ba5ee863816e24929"}}}}