{"action":"created","comment":{"url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/comments/38179024","id":38179024,"diff_hunk":"@@ -309,4 +312,20 @@ public static void drawTrapezoid(Canvas canvas, int color, boolean withShader) {\n         canvas.drawPath(wallpath, paint);\n     }\n \n+    /**\n+     * Calculate the SHA-1 hash of the given string\n+     * @param str   the string to hash\n+     * @return      the long representation of the hash\n+     */\n+    public static long hash(final String str) {","path":"app/src/main/java/acr/browser/lightning/utils/Utils.java","position":21,"original_position":21,"commit_id":"4eaf01e6ccb9fd02e7ce6615d5848a399afbcc7c","original_commit_id":"3c9cd73bf08a51559219df2c718458a67b85a95a","user":{"login":"stefano-cliqz","id":6358421,"avatar_url":"https://avatars.githubusercontent.com/u/6358421?v=3","gravatar_id":"","url":"https://api.github.com/users/stefano-cliqz","html_url":"https://github.com/stefano-cliqz","followers_url":"https://api.github.com/users/stefano-cliqz/followers","following_url":"https://api.github.com/users/stefano-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/stefano-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-cliqz/subscriptions","organizations_url":"https://api.github.com/users/stefano-cliqz/orgs","repos_url":"https://api.github.com/users/stefano-cliqz/repos","events_url":"https://api.github.com/users/stefano-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-cliqz/received_events","type":"User","site_admin":false},"body":"@kuc you are right, I'll change this","created_at":"2015-08-28T08:19:27Z","updated_at":"2015-08-28T08:19:27Z","html_url":"https://github.com/anthonycr/Lightning-Browser/pull/284#discussion_r38179024","pull_request_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284","_links":{"self":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/comments/38179024"},"html":{"href":"https://github.com/anthonycr/Lightning-Browser/pull/284#discussion_r38179024"},"pull_request":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284"}}},"pull_request":{"url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284","id":43527693,"html_url":"https://github.com/anthonycr/Lightning-Browser/pull/284","diff_url":"https://github.com/anthonycr/Lightning-Browser/pull/284.diff","patch_url":"https://github.com/anthonycr/Lightning-Browser/pull/284.patch","issue_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/284","number":284,"state":"open","locked":false,"title":"Refactoring: Bookmarks as Fragment","user":{"login":"stefano-cliqz","id":6358421,"avatar_url":"https://avatars.githubusercontent.com/u/6358421?v=3","gravatar_id":"","url":"https://api.github.com/users/stefano-cliqz","html_url":"https://github.com/stefano-cliqz","followers_url":"https://api.github.com/users/stefano-cliqz/followers","following_url":"https://api.github.com/users/stefano-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/stefano-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-cliqz/subscriptions","organizations_url":"https://api.github.com/users/stefano-cliqz/orgs","repos_url":"https://api.github.com/users/stefano-cliqz/repos","events_url":"https://api.github.com/users/stefano-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-cliqz/received_events","type":"User","site_admin":false},"body":"1. Incognito mode in another process\r\n2. Bookmarks as a Fragment using Otto\r\n\r\nI need also to refactor tabs management in a fragment so expect another pull request soon.","created_at":"2015-08-27T15:01:03Z","updated_at":"2015-08-28T08:19:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b26d235752a6e162eaa54b4c5e082178ac86532c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284/commits","review_comments_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284/comments","review_comment_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/284/comments","statuses_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/statuses/4eaf01e6ccb9fd02e7ce6615d5848a399afbcc7c","head":{"label":"stefano-cliqz:dev","ref":"dev","sha":"4eaf01e6ccb9fd02e7ce6615d5848a399afbcc7c","user":{"login":"stefano-cliqz","id":6358421,"avatar_url":"https://avatars.githubusercontent.com/u/6358421?v=3","gravatar_id":"","url":"https://api.github.com/users/stefano-cliqz","html_url":"https://github.com/stefano-cliqz","followers_url":"https://api.github.com/users/stefano-cliqz/followers","following_url":"https://api.github.com/users/stefano-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/stefano-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-cliqz/subscriptions","organizations_url":"https://api.github.com/users/stefano-cliqz/orgs","repos_url":"https://api.github.com/users/stefano-cliqz/repos","events_url":"https://api.github.com/users/stefano-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-cliqz/received_events","type":"User","site_admin":false},"repo":{"id":41492974,"name":"Lightning-Browser","full_name":"stefano-cliqz/Lightning-Browser","owner":{"login":"stefano-cliqz","id":6358421,"avatar_url":"https://avatars.githubusercontent.com/u/6358421?v=3","gravatar_id":"","url":"https://api.github.com/users/stefano-cliqz","html_url":"https://github.com/stefano-cliqz","followers_url":"https://api.github.com/users/stefano-cliqz/followers","following_url":"https://api.github.com/users/stefano-cliqz/following{/other_user}","gists_url":"https://api.github.com/users/stefano-cliqz/gists{/gist_id}","starred_url":"https://api.github.com/users/stefano-cliqz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefano-cliqz/subscriptions","organizations_url":"https://api.github.com/users/stefano-cliqz/orgs","repos_url":"https://api.github.com/users/stefano-cliqz/repos","events_url":"https://api.github.com/users/stefano-cliqz/events{/privacy}","received_events_url":"https://api.github.com/users/stefano-cliqz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stefano-cliqz/Lightning-Browser","description":"A speedy, lightweight browser with modern navigation","fork":true,"url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser","forks_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/forks","keys_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/teams","hooks_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/hooks","issue_events_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/issues/events{/number}","events_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/events","assignees_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/assignees{/user}","branches_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/branches{/branch}","tags_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/tags","blobs_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/statuses/{sha}","languages_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/languages","stargazers_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/stargazers","contributors_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/contributors","subscribers_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/subscribers","subscription_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/subscription","commits_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/contents/{+path}","compare_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/merges","archive_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/downloads","issues_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/issues{/number}","pulls_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/pulls{/number}","milestones_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/milestones{/number}","notifications_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/labels{/name}","releases_url":"https://api.github.com/repos/stefano-cliqz/Lightning-Browser/releases{/id}","created_at":"2015-08-27T14:52:41Z","updated_at":"2015-08-27T14:52:42Z","pushed_at":"2015-08-27T20:00:44Z","git_url":"git://github.com/stefano-cliqz/Lightning-Browser.git","ssh_url":"git@github.com:stefano-cliqz/Lightning-Browser.git","clone_url":"https://github.com/stefano-cliqz/Lightning-Browser.git","svn_url":"https://github.com/stefano-cliqz/Lightning-Browser","homepage":"acrdevelopment.org","size":15343,"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":"anthonycr:dev","ref":"dev","sha":"98f0daceaaea50e9424ce386aba5ea97632a5adb","user":{"login":"anthonycr","id":1966779,"avatar_url":"https://avatars.githubusercontent.com/u/1966779?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonycr","html_url":"https://github.com/anthonycr","followers_url":"https://api.github.com/users/anthonycr/followers","following_url":"https://api.github.com/users/anthonycr/following{/other_user}","gists_url":"https://api.github.com/users/anthonycr/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonycr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonycr/subscriptions","organizations_url":"https://api.github.com/users/anthonycr/orgs","repos_url":"https://api.github.com/users/anthonycr/repos","events_url":"https://api.github.com/users/anthonycr/events{/privacy}","received_events_url":"https://api.github.com/users/anthonycr/received_events","type":"User","site_admin":false},"repo":{"id":7964711,"name":"Lightning-Browser","full_name":"anthonycr/Lightning-Browser","owner":{"login":"anthonycr","id":1966779,"avatar_url":"https://avatars.githubusercontent.com/u/1966779?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonycr","html_url":"https://github.com/anthonycr","followers_url":"https://api.github.com/users/anthonycr/followers","following_url":"https://api.github.com/users/anthonycr/following{/other_user}","gists_url":"https://api.github.com/users/anthonycr/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonycr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonycr/subscriptions","organizations_url":"https://api.github.com/users/anthonycr/orgs","repos_url":"https://api.github.com/users/anthonycr/repos","events_url":"https://api.github.com/users/anthonycr/events{/privacy}","received_events_url":"https://api.github.com/users/anthonycr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anthonycr/Lightning-Browser","description":"A speedy, lightweight browser with modern navigation","fork":false,"url":"https://api.github.com/repos/anthonycr/Lightning-Browser","forks_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/forks","keys_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/teams","hooks_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/hooks","issue_events_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/events{/number}","events_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/events","assignees_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/assignees{/user}","branches_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/branches{/branch}","tags_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/tags","blobs_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/git/refs{/sha}","trees_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/statuses/{sha}","languages_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/languages","stargazers_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/stargazers","contributors_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/contributors","subscribers_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/subscribers","subscription_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/subscription","commits_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/commits{/sha}","git_commits_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/git/commits{/sha}","comments_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/comments{/number}","issue_comment_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/comments{/number}","contents_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/contents/{+path}","compare_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/merges","archive_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/downloads","issues_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues{/number}","pulls_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls{/number}","milestones_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/milestones{/number}","notifications_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/labels{/name}","releases_url":"https://api.github.com/repos/anthonycr/Lightning-Browser/releases{/id}","created_at":"2013-02-01T19:25:59Z","updated_at":"2015-08-28T05:42:23Z","pushed_at":"2015-08-28T02:44:41Z","git_url":"git://github.com/anthonycr/Lightning-Browser.git","ssh_url":"git@github.com:anthonycr/Lightning-Browser.git","clone_url":"https://github.com/anthonycr/Lightning-Browser.git","svn_url":"https://github.com/anthonycr/Lightning-Browser","homepage":"acrdevelopment.org","size":15343,"stargazers_count":377,"watchers_count":377,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":63,"forks":236,"open_issues":63,"watchers":377,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284"},"html":{"href":"https://github.com/anthonycr/Lightning-Browser/pull/284"},"issue":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/284"},"comments":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/issues/284/comments"},"review_comments":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284/comments"},"review_comment":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/pulls/284/commits"},"statuses":{"href":"https://api.github.com/repos/anthonycr/Lightning-Browser/statuses/4eaf01e6ccb9fd02e7ce6615d5848a399afbcc7c"}}}}