{"action":"created","comment":{"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/comments/34319608","id":34319608,"diff_hunk":"@@ -126,13 +143,20 @@ public void onClick(View v) {\n                     return;\n                 }\n \n-                Book book = new Book(id_, title, author, description, cover);\n+                Book book = new Book(id_, title, author, description, cover, year, isbn);\n \n                 // in case user edit information just update data\n                 if (id_ != null) {\n-                    helper.updateBook(book);\n+\n+                    Uri bookWithIdUri = DatabaseContract.BooksTable.buildBookUri(id_);\n+                    ContentValues values = LibraryDatabaseHelper.createBooksValues(book);\n+                    getActivity().getContentResolver().update(bookWithIdUri, values, null, null);\n+\n                 } else {\n-                    helper.addBook(book);\n+","path":"app/src/main/java/com/example/admin/personallibrarycatalogue/AddBookActivityFragment.java","position":91,"original_position":91,"commit_id":"420d7f57c7bc1af39b5426fc0eed14bab3f5ac52","original_commit_id":"420d7f57c7bc1af39b5426fc0eed14bab3f5ac52","user":{"login":"oxied","id":1070647,"avatar_url":"https://avatars.githubusercontent.com/u/1070647?v=3","gravatar_id":"","url":"https://api.github.com/users/oxied","html_url":"https://github.com/oxied","followers_url":"https://api.github.com/users/oxied/followers","following_url":"https://api.github.com/users/oxied/following{/other_user}","gists_url":"https://api.github.com/users/oxied/gists{/gist_id}","starred_url":"https://api.github.com/users/oxied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oxied/subscriptions","organizations_url":"https://api.github.com/users/oxied/orgs","repos_url":"https://api.github.com/users/oxied/repos","events_url":"https://api.github.com/users/oxied/events{/privacy}","received_events_url":"https://api.github.com/users/oxied/received_events","type":"User","site_admin":false},"body":"Unnecessary empty line.","created_at":"2015-07-10T00:40:09Z","updated_at":"2015-07-10T00:40:09Z","html_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3#discussion_r34319608","pull_request_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/comments/34319608"},"html":{"href":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3#discussion_r34319608"},"pull_request":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3","id":39574938,"html_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3","diff_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3.diff","patch_url":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3.patch","issue_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3","number":3,"state":"open","locked":false,"title":"Lab 273 content providers","user":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"body":"http://redmine.weezlabs.com:8100/redmine/boards/8/topics/273","created_at":"2015-07-09T11:55:33Z","updated_at":"2015-07-10T00:40:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a76a950f9bacfa1ae3de51fb65d7774dd935826b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3/comments","statuses_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/statuses/420d7f57c7bc1af39b5426fc0eed14bab3f5ac52","head":{"label":"MikhailSkiyAtWork:lab_273_content_providers","ref":"lab_273_content_providers","sha":"420d7f57c7bc1af39b5426fc0eed14bab3f5ac52","user":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"repo":{"id":36225075,"name":"Lab_55","full_name":"MikhailSkiyAtWork/Lab_55","owner":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikhailSkiyAtWork/Lab_55","description":"Application which allow user keep list of books, with edit and delete functions  http://redmine.weezlabs.com:8100/redmine/boards/8/topics/55","fork":false,"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55","forks_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/forks","keys_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/teams","hooks_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/hooks","issue_events_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/events{/number}","events_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/events","assignees_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/assignees{/user}","branches_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/branches{/branch}","tags_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/tags","blobs_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/statuses/{sha}","languages_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/languages","stargazers_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/stargazers","contributors_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/contributors","subscribers_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/subscribers","subscription_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/subscription","commits_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/contents/{+path}","compare_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/merges","archive_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/downloads","issues_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues{/number}","pulls_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls{/number}","milestones_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/milestones{/number}","notifications_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/labels{/name}","releases_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/releases{/id}","created_at":"2015-05-25T10:32:23Z","updated_at":"2015-07-09T10:42:07Z","pushed_at":"2015-07-09T11:55:33Z","git_url":"git://github.com/MikhailSkiyAtWork/Lab_55.git","ssh_url":"git@github.com:MikhailSkiyAtWork/Lab_55.git","clone_url":"https://github.com/MikhailSkiyAtWork/Lab_55.git","svn_url":"https://github.com/MikhailSkiyAtWork/Lab_55","homepage":null,"size":708,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"MikhailSkiyAtWork:master","ref":"master","sha":"456b2f002c7cb31dfb4792952279355d68c2d259","user":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"repo":{"id":36225075,"name":"Lab_55","full_name":"MikhailSkiyAtWork/Lab_55","owner":{"login":"MikhailSkiyAtWork","id":12441949,"avatar_url":"https://avatars.githubusercontent.com/u/12441949?v=3","gravatar_id":"","url":"https://api.github.com/users/MikhailSkiyAtWork","html_url":"https://github.com/MikhailSkiyAtWork","followers_url":"https://api.github.com/users/MikhailSkiyAtWork/followers","following_url":"https://api.github.com/users/MikhailSkiyAtWork/following{/other_user}","gists_url":"https://api.github.com/users/MikhailSkiyAtWork/gists{/gist_id}","starred_url":"https://api.github.com/users/MikhailSkiyAtWork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikhailSkiyAtWork/subscriptions","organizations_url":"https://api.github.com/users/MikhailSkiyAtWork/orgs","repos_url":"https://api.github.com/users/MikhailSkiyAtWork/repos","events_url":"https://api.github.com/users/MikhailSkiyAtWork/events{/privacy}","received_events_url":"https://api.github.com/users/MikhailSkiyAtWork/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MikhailSkiyAtWork/Lab_55","description":"Application which allow user keep list of books, with edit and delete functions  http://redmine.weezlabs.com:8100/redmine/boards/8/topics/55","fork":false,"url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55","forks_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/forks","keys_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/teams","hooks_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/hooks","issue_events_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/events{/number}","events_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/events","assignees_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/assignees{/user}","branches_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/branches{/branch}","tags_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/tags","blobs_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/refs{/sha}","trees_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/statuses/{sha}","languages_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/languages","stargazers_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/stargazers","contributors_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/contributors","subscribers_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/subscribers","subscription_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/subscription","commits_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/commits{/sha}","git_commits_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/git/commits{/sha}","comments_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/comments{/number}","issue_comment_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/comments{/number}","contents_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/contents/{+path}","compare_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/merges","archive_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/downloads","issues_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues{/number}","pulls_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls{/number}","milestones_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/milestones{/number}","notifications_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/labels{/name}","releases_url":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/releases{/id}","created_at":"2015-05-25T10:32:23Z","updated_at":"2015-07-09T10:42:07Z","pushed_at":"2015-07-09T11:55:33Z","git_url":"git://github.com/MikhailSkiyAtWork/Lab_55.git","ssh_url":"git@github.com:MikhailSkiyAtWork/Lab_55.git","clone_url":"https://github.com/MikhailSkiyAtWork/Lab_55.git","svn_url":"https://github.com/MikhailSkiyAtWork/Lab_55","homepage":null,"size":708,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3"},"html":{"href":"https://github.com/MikhailSkiyAtWork/Lab_55/pull/3"},"issue":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3"},"comments":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MikhailSkiyAtWork/Lab_55/statuses/420d7f57c7bc1af39b5426fc0eed14bab3f5ac52"}}}}