{"action":"created","comment":{"url":"https://api.github.com/repos/framgia/fel_1/pulls/comments/61708411","id":61708411,"diff_hunk":"@@ -13,22 +13,22 @@\n  */\n public class InternetUtils {\n     public static boolean isInternetConnected(Context context) {\n-        ConnectivityManager connectivityManager = (ConnectivityManager)\n-                context.getSystemService(Context.CONNECTIVITY_SERVICE);\n+        ConnectivityManager connectivityManager =\n+                (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);\n         boolean result = false;\n         if (connectivityManager != null) {\n-            NetworkInfo networkInfo = connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI);\n+            NetworkInfo networkInfo =\n+                    connectivityManager.getNetworkInfo(ConnectivityManager.TYPE_WIFI);\n             if (networkInfo != null && networkInfo.isConnected()) {\n                 result = true;\n             }\n         }\n         if (result) {\n             return true;\n         } else {\n-            new AlertDialog.Builder(context)\n-                    .setTitle(\"Thông báo\")\n-                    .setMessage(R.string.not_internet + \"\")\n-                    .setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n+            new AlertDialog.Builder(context).setTitle(\"Thông báo\").setMessage(","path":"app/src/main/java/com/framgia/fel1/util/InternetUtils.java","position":24,"original_position":24,"commit_id":"a96cdf86d86ab2c2dcb15f8a0a7937e0aeb8e0b6","original_commit_id":"a96cdf86d86ab2c2dcb15f8a0a7937e0aeb8e0b6","user":{"login":"TrucLuu","id":10126685,"avatar_url":"https://avatars.githubusercontent.com/u/10126685?v=3","gravatar_id":"","url":"https://api.github.com/users/TrucLuu","html_url":"https://github.com/TrucLuu","followers_url":"https://api.github.com/users/TrucLuu/followers","following_url":"https://api.github.com/users/TrucLuu/following{/other_user}","gists_url":"https://api.github.com/users/TrucLuu/gists{/gist_id}","starred_url":"https://api.github.com/users/TrucLuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrucLuu/subscriptions","organizations_url":"https://api.github.com/users/TrucLuu/orgs","repos_url":"https://api.github.com/users/TrucLuu/repos","events_url":"https://api.github.com/users/TrucLuu/events{/privacy}","received_events_url":"https://api.github.com/users/TrucLuu/received_events","type":"User","site_admin":false},"body":"chú ý chỗ này, không set thằng String như này nhé. đưa vào file strings.xml\r\n","created_at":"2016-05-02T06:57:24Z","updated_at":"2016-05-02T06:57:24Z","html_url":"https://github.com/framgia/fel_1/pull/10#discussion_r61708411","pull_request_url":"https://api.github.com/repos/framgia/fel_1/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/comments/61708411"},"html":{"href":"https://github.com/framgia/fel_1/pull/10#discussion_r61708411"},"pull_request":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/framgia/fel_1/pulls/10","id":67678390,"html_url":"https://github.com/framgia/fel_1/pull/10","diff_url":"https://github.com/framgia/fel_1/pull/10.diff","patch_url":"https://github.com/framgia/fel_1/pull/10.patch","issue_url":"https://api.github.com/repos/framgia/fel_1/issues/10","number":10,"state":"open","locked":false,"title":"create database","user":{"login":"vuduychuong","id":18453464,"avatar_url":"https://avatars.githubusercontent.com/u/18453464?v=3","gravatar_id":"","url":"https://api.github.com/users/vuduychuong","html_url":"https://github.com/vuduychuong","followers_url":"https://api.github.com/users/vuduychuong/followers","following_url":"https://api.github.com/users/vuduychuong/following{/other_user}","gists_url":"https://api.github.com/users/vuduychuong/gists{/gist_id}","starred_url":"https://api.github.com/users/vuduychuong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuduychuong/subscriptions","organizations_url":"https://api.github.com/users/vuduychuong/orgs","repos_url":"https://api.github.com/users/vuduychuong/repos","events_url":"https://api.github.com/users/vuduychuong/events{/privacy}","received_events_url":"https://api.github.com/users/vuduychuong/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-25T07:57:02Z","updated_at":"2016-05-02T06:57:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4ec0d657dc9c853e82a7849042b80254416128a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/framgia/fel_1/pulls/10/commits","review_comments_url":"https://api.github.com/repos/framgia/fel_1/pulls/10/comments","review_comment_url":"https://api.github.com/repos/framgia/fel_1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/framgia/fel_1/issues/10/comments","statuses_url":"https://api.github.com/repos/framgia/fel_1/statuses/a96cdf86d86ab2c2dcb15f8a0a7937e0aeb8e0b6","head":{"label":"vuduychuong:task/60486","ref":"task/60486","sha":"a96cdf86d86ab2c2dcb15f8a0a7937e0aeb8e0b6","user":{"login":"vuduychuong","id":18453464,"avatar_url":"https://avatars.githubusercontent.com/u/18453464?v=3","gravatar_id":"","url":"https://api.github.com/users/vuduychuong","html_url":"https://github.com/vuduychuong","followers_url":"https://api.github.com/users/vuduychuong/followers","following_url":"https://api.github.com/users/vuduychuong/following{/other_user}","gists_url":"https://api.github.com/users/vuduychuong/gists{/gist_id}","starred_url":"https://api.github.com/users/vuduychuong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuduychuong/subscriptions","organizations_url":"https://api.github.com/users/vuduychuong/orgs","repos_url":"https://api.github.com/users/vuduychuong/repos","events_url":"https://api.github.com/users/vuduychuong/events{/privacy}","received_events_url":"https://api.github.com/users/vuduychuong/received_events","type":"User","site_admin":false},"repo":{"id":56197960,"name":"fel_1","full_name":"vuduychuong/fel_1","owner":{"login":"vuduychuong","id":18453464,"avatar_url":"https://avatars.githubusercontent.com/u/18453464?v=3","gravatar_id":"","url":"https://api.github.com/users/vuduychuong","html_url":"https://github.com/vuduychuong","followers_url":"https://api.github.com/users/vuduychuong/followers","following_url":"https://api.github.com/users/vuduychuong/following{/other_user}","gists_url":"https://api.github.com/users/vuduychuong/gists{/gist_id}","starred_url":"https://api.github.com/users/vuduychuong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vuduychuong/subscriptions","organizations_url":"https://api.github.com/users/vuduychuong/orgs","repos_url":"https://api.github.com/users/vuduychuong/repos","events_url":"https://api.github.com/users/vuduychuong/events{/privacy}","received_events_url":"https://api.github.com/users/vuduychuong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vuduychuong/fel_1","description":"english learning","fork":true,"url":"https://api.github.com/repos/vuduychuong/fel_1","forks_url":"https://api.github.com/repos/vuduychuong/fel_1/forks","keys_url":"https://api.github.com/repos/vuduychuong/fel_1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vuduychuong/fel_1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vuduychuong/fel_1/teams","hooks_url":"https://api.github.com/repos/vuduychuong/fel_1/hooks","issue_events_url":"https://api.github.com/repos/vuduychuong/fel_1/issues/events{/number}","events_url":"https://api.github.com/repos/vuduychuong/fel_1/events","assignees_url":"https://api.github.com/repos/vuduychuong/fel_1/assignees{/user}","branches_url":"https://api.github.com/repos/vuduychuong/fel_1/branches{/branch}","tags_url":"https://api.github.com/repos/vuduychuong/fel_1/tags","blobs_url":"https://api.github.com/repos/vuduychuong/fel_1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vuduychuong/fel_1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vuduychuong/fel_1/git/refs{/sha}","trees_url":"https://api.github.com/repos/vuduychuong/fel_1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vuduychuong/fel_1/statuses/{sha}","languages_url":"https://api.github.com/repos/vuduychuong/fel_1/languages","stargazers_url":"https://api.github.com/repos/vuduychuong/fel_1/stargazers","contributors_url":"https://api.github.com/repos/vuduychuong/fel_1/contributors","subscribers_url":"https://api.github.com/repos/vuduychuong/fel_1/subscribers","subscription_url":"https://api.github.com/repos/vuduychuong/fel_1/subscription","commits_url":"https://api.github.com/repos/vuduychuong/fel_1/commits{/sha}","git_commits_url":"https://api.github.com/repos/vuduychuong/fel_1/git/commits{/sha}","comments_url":"https://api.github.com/repos/vuduychuong/fel_1/comments{/number}","issue_comment_url":"https://api.github.com/repos/vuduychuong/fel_1/issues/comments{/number}","contents_url":"https://api.github.com/repos/vuduychuong/fel_1/contents/{+path}","compare_url":"https://api.github.com/repos/vuduychuong/fel_1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vuduychuong/fel_1/merges","archive_url":"https://api.github.com/repos/vuduychuong/fel_1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vuduychuong/fel_1/downloads","issues_url":"https://api.github.com/repos/vuduychuong/fel_1/issues{/number}","pulls_url":"https://api.github.com/repos/vuduychuong/fel_1/pulls{/number}","milestones_url":"https://api.github.com/repos/vuduychuong/fel_1/milestones{/number}","notifications_url":"https://api.github.com/repos/vuduychuong/fel_1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vuduychuong/fel_1/labels{/name}","releases_url":"https://api.github.com/repos/vuduychuong/fel_1/releases{/id}","deployments_url":"https://api.github.com/repos/vuduychuong/fel_1/deployments","created_at":"2016-04-14T01:31:12Z","updated_at":"2016-04-12T03:43:55Z","pushed_at":"2016-05-02T05:53:59Z","git_url":"git://github.com/vuduychuong/fel_1.git","ssh_url":"git@github.com:vuduychuong/fel_1.git","clone_url":"https://github.com/vuduychuong/fel_1.git","svn_url":"https://github.com/vuduychuong/fel_1","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":null,"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":"framgia:develop","ref":"develop","sha":"31389169002327ec4bfbe6abdb8454dead18894d","user":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"repo":{"id":56028727,"name":"fel_1","full_name":"framgia/fel_1","owner":{"login":"framgia","id":2322183,"avatar_url":"https://avatars.githubusercontent.com/u/2322183?v=3","gravatar_id":"","url":"https://api.github.com/users/framgia","html_url":"https://github.com/framgia","followers_url":"https://api.github.com/users/framgia/followers","following_url":"https://api.github.com/users/framgia/following{/other_user}","gists_url":"https://api.github.com/users/framgia/gists{/gist_id}","starred_url":"https://api.github.com/users/framgia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/framgia/subscriptions","organizations_url":"https://api.github.com/users/framgia/orgs","repos_url":"https://api.github.com/users/framgia/repos","events_url":"https://api.github.com/users/framgia/events{/privacy}","received_events_url":"https://api.github.com/users/framgia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/framgia/fel_1","description":"english learning","fork":false,"url":"https://api.github.com/repos/framgia/fel_1","forks_url":"https://api.github.com/repos/framgia/fel_1/forks","keys_url":"https://api.github.com/repos/framgia/fel_1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/framgia/fel_1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/framgia/fel_1/teams","hooks_url":"https://api.github.com/repos/framgia/fel_1/hooks","issue_events_url":"https://api.github.com/repos/framgia/fel_1/issues/events{/number}","events_url":"https://api.github.com/repos/framgia/fel_1/events","assignees_url":"https://api.github.com/repos/framgia/fel_1/assignees{/user}","branches_url":"https://api.github.com/repos/framgia/fel_1/branches{/branch}","tags_url":"https://api.github.com/repos/framgia/fel_1/tags","blobs_url":"https://api.github.com/repos/framgia/fel_1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/framgia/fel_1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/framgia/fel_1/git/refs{/sha}","trees_url":"https://api.github.com/repos/framgia/fel_1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/framgia/fel_1/statuses/{sha}","languages_url":"https://api.github.com/repos/framgia/fel_1/languages","stargazers_url":"https://api.github.com/repos/framgia/fel_1/stargazers","contributors_url":"https://api.github.com/repos/framgia/fel_1/contributors","subscribers_url":"https://api.github.com/repos/framgia/fel_1/subscribers","subscription_url":"https://api.github.com/repos/framgia/fel_1/subscription","commits_url":"https://api.github.com/repos/framgia/fel_1/commits{/sha}","git_commits_url":"https://api.github.com/repos/framgia/fel_1/git/commits{/sha}","comments_url":"https://api.github.com/repos/framgia/fel_1/comments{/number}","issue_comment_url":"https://api.github.com/repos/framgia/fel_1/issues/comments{/number}","contents_url":"https://api.github.com/repos/framgia/fel_1/contents/{+path}","compare_url":"https://api.github.com/repos/framgia/fel_1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/framgia/fel_1/merges","archive_url":"https://api.github.com/repos/framgia/fel_1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/framgia/fel_1/downloads","issues_url":"https://api.github.com/repos/framgia/fel_1/issues{/number}","pulls_url":"https://api.github.com/repos/framgia/fel_1/pulls{/number}","milestones_url":"https://api.github.com/repos/framgia/fel_1/milestones{/number}","notifications_url":"https://api.github.com/repos/framgia/fel_1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/framgia/fel_1/labels{/name}","releases_url":"https://api.github.com/repos/framgia/fel_1/releases{/id}","deployments_url":"https://api.github.com/repos/framgia/fel_1/deployments","created_at":"2016-04-12T03:43:55Z","updated_at":"2016-04-14T02:10:26Z","pushed_at":"2016-04-26T04:15:36Z","git_url":"git://github.com/framgia/fel_1.git","ssh_url":"git@github.com:framgia/fel_1.git","clone_url":"https://github.com/framgia/fel_1.git","svn_url":"https://github.com/framgia/fel_1","homepage":null,"size":91,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/10"},"html":{"href":"https://github.com/framgia/fel_1/pull/10"},"issue":{"href":"https://api.github.com/repos/framgia/fel_1/issues/10"},"comments":{"href":"https://api.github.com/repos/framgia/fel_1/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/framgia/fel_1/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/framgia/fel_1/statuses/a96cdf86d86ab2c2dcb15f8a0a7937e0aeb8e0b6"}}}}