{"action":"created","comment":{"url":"https://api.github.com/repos/akkm/RSSReader/pulls/comments/41115784","id":41115784,"diff_hunk":"@@ -16,55 +14,29 @@\n  */\n public class FeedCache {\n     private Context context;\n-\n-    private static final String CACHE_FILE_NAME = \"cache.txt\";\n+    private FeedItemOpenHelper mOpenHelper;","path":"app/src/main/java/com/example/rssreader/FeedCache.java","position":21,"original_position":21,"commit_id":"baa46d8ffcd040c75732fd794a8b6fcc87509740","original_commit_id":"baa46d8ffcd040c75732fd794a8b6fcc87509740","user":{"login":"hidey","id":559791,"avatar_url":"https://avatars.githubusercontent.com/u/559791?v=3","gravatar_id":"","url":"https://api.github.com/users/hidey","html_url":"https://github.com/hidey","followers_url":"https://api.github.com/users/hidey/followers","following_url":"https://api.github.com/users/hidey/following{/other_user}","gists_url":"https://api.github.com/users/hidey/gists{/gist_id}","starred_url":"https://api.github.com/users/hidey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hidey/subscriptions","organizations_url":"https://api.github.com/users/hidey/orgs","repos_url":"https://api.github.com/users/hidey/repos","events_url":"https://api.github.com/users/hidey/events{/privacy}","received_events_url":"https://api.github.com/users/hidey/received_events","type":"User","site_admin":false},"body":"FeedItemOpenHelperをclosableにしちゃった方がよかったか…","created_at":"2015-10-05T07:22:45Z","updated_at":"2015-10-05T07:22:45Z","html_url":"https://github.com/akkm/RSSReader/pull/15#discussion_r41115784","pull_request_url":"https://api.github.com/repos/akkm/RSSReader/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/comments/41115784"},"html":{"href":"https://github.com/akkm/RSSReader/pull/15#discussion_r41115784"},"pull_request":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/akkm/RSSReader/pulls/15","id":46743269,"html_url":"https://github.com/akkm/RSSReader/pull/15","diff_url":"https://github.com/akkm/RSSReader/pull/15.diff","patch_url":"https://github.com/akkm/RSSReader/pull/15.patch","issue_url":"https://api.github.com/repos/akkm/RSSReader/issues/15","number":15,"state":"open","locked":false,"title":"ファイルキャッシュからDBの利用に置き換え","user":{"login":"punchdrunker","id":135589,"avatar_url":"https://avatars.githubusercontent.com/u/135589?v=3","gravatar_id":"","url":"https://api.github.com/users/punchdrunker","html_url":"https://github.com/punchdrunker","followers_url":"https://api.github.com/users/punchdrunker/followers","following_url":"https://api.github.com/users/punchdrunker/following{/other_user}","gists_url":"https://api.github.com/users/punchdrunker/gists{/gist_id}","starred_url":"https://api.github.com/users/punchdrunker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punchdrunker/subscriptions","organizations_url":"https://api.github.com/users/punchdrunker/orgs","repos_url":"https://api.github.com/users/punchdrunker/repos","events_url":"https://api.github.com/users/punchdrunker/events{/privacy}","received_events_url":"https://api.github.com/users/punchdrunker/received_events","type":"User","site_admin":false},"body":"キャッシュファイルからDBを利用するように変更。\r\n主にFeedCacheの中身を変更した。\r\n\r\n画面回転で毎回DBを参照することになるっていう説明は20回の終わりにちょっとしようと思います。","created_at":"2015-10-05T04:14:53Z","updated_at":"2015-10-05T07:22:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"215967e7de4c8572060e921c3bcf159d0cc8ba79","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/akkm/RSSReader/pulls/15/commits","review_comments_url":"https://api.github.com/repos/akkm/RSSReader/pulls/15/comments","review_comment_url":"https://api.github.com/repos/akkm/RSSReader/pulls/comments{/number}","comments_url":"https://api.github.com/repos/akkm/RSSReader/issues/15/comments","statuses_url":"https://api.github.com/repos/akkm/RSSReader/statuses/baa46d8ffcd040c75732fd794a8b6fcc87509740","head":{"label":"punchdrunker:lesson20_end","ref":"lesson20_end","sha":"baa46d8ffcd040c75732fd794a8b6fcc87509740","user":{"login":"punchdrunker","id":135589,"avatar_url":"https://avatars.githubusercontent.com/u/135589?v=3","gravatar_id":"","url":"https://api.github.com/users/punchdrunker","html_url":"https://github.com/punchdrunker","followers_url":"https://api.github.com/users/punchdrunker/followers","following_url":"https://api.github.com/users/punchdrunker/following{/other_user}","gists_url":"https://api.github.com/users/punchdrunker/gists{/gist_id}","starred_url":"https://api.github.com/users/punchdrunker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punchdrunker/subscriptions","organizations_url":"https://api.github.com/users/punchdrunker/orgs","repos_url":"https://api.github.com/users/punchdrunker/repos","events_url":"https://api.github.com/users/punchdrunker/events{/privacy}","received_events_url":"https://api.github.com/users/punchdrunker/received_events","type":"User","site_admin":false},"repo":{"id":41852242,"name":"RSSReader","full_name":"punchdrunker/RSSReader","owner":{"login":"punchdrunker","id":135589,"avatar_url":"https://avatars.githubusercontent.com/u/135589?v=3","gravatar_id":"","url":"https://api.github.com/users/punchdrunker","html_url":"https://github.com/punchdrunker","followers_url":"https://api.github.com/users/punchdrunker/followers","following_url":"https://api.github.com/users/punchdrunker/following{/other_user}","gists_url":"https://api.github.com/users/punchdrunker/gists{/gist_id}","starred_url":"https://api.github.com/users/punchdrunker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punchdrunker/subscriptions","organizations_url":"https://api.github.com/users/punchdrunker/orgs","repos_url":"https://api.github.com/users/punchdrunker/repos","events_url":"https://api.github.com/users/punchdrunker/events{/privacy}","received_events_url":"https://api.github.com/users/punchdrunker/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/punchdrunker/RSSReader","description":"","fork":true,"url":"https://api.github.com/repos/punchdrunker/RSSReader","forks_url":"https://api.github.com/repos/punchdrunker/RSSReader/forks","keys_url":"https://api.github.com/repos/punchdrunker/RSSReader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/punchdrunker/RSSReader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/punchdrunker/RSSReader/teams","hooks_url":"https://api.github.com/repos/punchdrunker/RSSReader/hooks","issue_events_url":"https://api.github.com/repos/punchdrunker/RSSReader/issues/events{/number}","events_url":"https://api.github.com/repos/punchdrunker/RSSReader/events","assignees_url":"https://api.github.com/repos/punchdrunker/RSSReader/assignees{/user}","branches_url":"https://api.github.com/repos/punchdrunker/RSSReader/branches{/branch}","tags_url":"https://api.github.com/repos/punchdrunker/RSSReader/tags","blobs_url":"https://api.github.com/repos/punchdrunker/RSSReader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/punchdrunker/RSSReader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/punchdrunker/RSSReader/git/refs{/sha}","trees_url":"https://api.github.com/repos/punchdrunker/RSSReader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/punchdrunker/RSSReader/statuses/{sha}","languages_url":"https://api.github.com/repos/punchdrunker/RSSReader/languages","stargazers_url":"https://api.github.com/repos/punchdrunker/RSSReader/stargazers","contributors_url":"https://api.github.com/repos/punchdrunker/RSSReader/contributors","subscribers_url":"https://api.github.com/repos/punchdrunker/RSSReader/subscribers","subscription_url":"https://api.github.com/repos/punchdrunker/RSSReader/subscription","commits_url":"https://api.github.com/repos/punchdrunker/RSSReader/commits{/sha}","git_commits_url":"https://api.github.com/repos/punchdrunker/RSSReader/git/commits{/sha}","comments_url":"https://api.github.com/repos/punchdrunker/RSSReader/comments{/number}","issue_comment_url":"https://api.github.com/repos/punchdrunker/RSSReader/issues/comments{/number}","contents_url":"https://api.github.com/repos/punchdrunker/RSSReader/contents/{+path}","compare_url":"https://api.github.com/repos/punchdrunker/RSSReader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/punchdrunker/RSSReader/merges","archive_url":"https://api.github.com/repos/punchdrunker/RSSReader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/punchdrunker/RSSReader/downloads","issues_url":"https://api.github.com/repos/punchdrunker/RSSReader/issues{/number}","pulls_url":"https://api.github.com/repos/punchdrunker/RSSReader/pulls{/number}","milestones_url":"https://api.github.com/repos/punchdrunker/RSSReader/milestones{/number}","notifications_url":"https://api.github.com/repos/punchdrunker/RSSReader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/punchdrunker/RSSReader/labels{/name}","releases_url":"https://api.github.com/repos/punchdrunker/RSSReader/releases{/id}","created_at":"2015-09-03T09:39:45Z","updated_at":"2015-09-03T09:39:46Z","pushed_at":"2015-10-05T04:13:45Z","git_url":"git://github.com/punchdrunker/RSSReader.git","ssh_url":"git@github.com:punchdrunker/RSSReader.git","clone_url":"https://github.com/punchdrunker/RSSReader.git","svn_url":"https://github.com/punchdrunker/RSSReader","homepage":null,"size":469,"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":"akkm:master","ref":"master","sha":"a809fa738f98e64bb0f6e3d973cf017ad8229938","user":{"login":"akkm","id":3461199,"avatar_url":"https://avatars.githubusercontent.com/u/3461199?v=3","gravatar_id":"","url":"https://api.github.com/users/akkm","html_url":"https://github.com/akkm","followers_url":"https://api.github.com/users/akkm/followers","following_url":"https://api.github.com/users/akkm/following{/other_user}","gists_url":"https://api.github.com/users/akkm/gists{/gist_id}","starred_url":"https://api.github.com/users/akkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkm/subscriptions","organizations_url":"https://api.github.com/users/akkm/orgs","repos_url":"https://api.github.com/users/akkm/repos","events_url":"https://api.github.com/users/akkm/events{/privacy}","received_events_url":"https://api.github.com/users/akkm/received_events","type":"User","site_admin":false},"repo":{"id":41023761,"name":"RSSReader","full_name":"akkm/RSSReader","owner":{"login":"akkm","id":3461199,"avatar_url":"https://avatars.githubusercontent.com/u/3461199?v=3","gravatar_id":"","url":"https://api.github.com/users/akkm","html_url":"https://github.com/akkm","followers_url":"https://api.github.com/users/akkm/followers","following_url":"https://api.github.com/users/akkm/following{/other_user}","gists_url":"https://api.github.com/users/akkm/gists{/gist_id}","starred_url":"https://api.github.com/users/akkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akkm/subscriptions","organizations_url":"https://api.github.com/users/akkm/orgs","repos_url":"https://api.github.com/users/akkm/repos","events_url":"https://api.github.com/users/akkm/events{/privacy}","received_events_url":"https://api.github.com/users/akkm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akkm/RSSReader","description":"","fork":false,"url":"https://api.github.com/repos/akkm/RSSReader","forks_url":"https://api.github.com/repos/akkm/RSSReader/forks","keys_url":"https://api.github.com/repos/akkm/RSSReader/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akkm/RSSReader/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akkm/RSSReader/teams","hooks_url":"https://api.github.com/repos/akkm/RSSReader/hooks","issue_events_url":"https://api.github.com/repos/akkm/RSSReader/issues/events{/number}","events_url":"https://api.github.com/repos/akkm/RSSReader/events","assignees_url":"https://api.github.com/repos/akkm/RSSReader/assignees{/user}","branches_url":"https://api.github.com/repos/akkm/RSSReader/branches{/branch}","tags_url":"https://api.github.com/repos/akkm/RSSReader/tags","blobs_url":"https://api.github.com/repos/akkm/RSSReader/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akkm/RSSReader/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akkm/RSSReader/git/refs{/sha}","trees_url":"https://api.github.com/repos/akkm/RSSReader/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akkm/RSSReader/statuses/{sha}","languages_url":"https://api.github.com/repos/akkm/RSSReader/languages","stargazers_url":"https://api.github.com/repos/akkm/RSSReader/stargazers","contributors_url":"https://api.github.com/repos/akkm/RSSReader/contributors","subscribers_url":"https://api.github.com/repos/akkm/RSSReader/subscribers","subscription_url":"https://api.github.com/repos/akkm/RSSReader/subscription","commits_url":"https://api.github.com/repos/akkm/RSSReader/commits{/sha}","git_commits_url":"https://api.github.com/repos/akkm/RSSReader/git/commits{/sha}","comments_url":"https://api.github.com/repos/akkm/RSSReader/comments{/number}","issue_comment_url":"https://api.github.com/repos/akkm/RSSReader/issues/comments{/number}","contents_url":"https://api.github.com/repos/akkm/RSSReader/contents/{+path}","compare_url":"https://api.github.com/repos/akkm/RSSReader/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akkm/RSSReader/merges","archive_url":"https://api.github.com/repos/akkm/RSSReader/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akkm/RSSReader/downloads","issues_url":"https://api.github.com/repos/akkm/RSSReader/issues{/number}","pulls_url":"https://api.github.com/repos/akkm/RSSReader/pulls{/number}","milestones_url":"https://api.github.com/repos/akkm/RSSReader/milestones{/number}","notifications_url":"https://api.github.com/repos/akkm/RSSReader/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akkm/RSSReader/labels{/name}","releases_url":"https://api.github.com/repos/akkm/RSSReader/releases{/id}","created_at":"2015-08-19T08:57:44Z","updated_at":"2015-09-24T11:35:41Z","pushed_at":"2015-10-05T04:14:53Z","git_url":"git://github.com/akkm/RSSReader.git","ssh_url":"git@github.com:akkm/RSSReader.git","clone_url":"https://github.com/akkm/RSSReader.git","svn_url":"https://github.com/akkm/RSSReader","homepage":null,"size":670,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/15"},"html":{"href":"https://github.com/akkm/RSSReader/pull/15"},"issue":{"href":"https://api.github.com/repos/akkm/RSSReader/issues/15"},"comments":{"href":"https://api.github.com/repos/akkm/RSSReader/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/akkm/RSSReader/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/akkm/RSSReader/statuses/baa46d8ffcd040c75732fd794a8b6fcc87509740"}}}}