{"action":"created","comment":{"url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/comments/87650568","pull_request_review_id":8258297,"id":87650568,"diff_hunk":"@@ -513,7 +513,7 @@ - (void)setCurrentFolder:(BOXFolder *)folder\n - (void)switchToEmptyStateWithError:(NSError *)error\n {\n     // No error means it's just an empty folder.\n-    NSString *errorMessage = [[NSString alloc] init];\n+    NSString *errorMessage;","path":"BoxBrowseSDK/BoxBrowseSDK/Controllers/BOXFolderViewController.m","position":5,"original_position":5,"commit_id":"036af359e5148ba717488683ebd1d38c5ff330c5","original_commit_id":"036af359e5148ba717488683ebd1d38c5ff330c5","user":{"login":"boxtcarpel","id":1891864,"avatar_url":"https://avatars.githubusercontent.com/u/1891864?v=3","gravatar_id":"","url":"https://api.github.com/users/boxtcarpel","html_url":"https://github.com/boxtcarpel","followers_url":"https://api.github.com/users/boxtcarpel/followers","following_url":"https://api.github.com/users/boxtcarpel/following{/other_user}","gists_url":"https://api.github.com/users/boxtcarpel/gists{/gist_id}","starred_url":"https://api.github.com/users/boxtcarpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boxtcarpel/subscriptions","organizations_url":"https://api.github.com/users/boxtcarpel/orgs","repos_url":"https://api.github.com/users/boxtcarpel/repos","events_url":"https://api.github.com/users/boxtcarpel/events{/privacy}","received_events_url":"https://api.github.com/users/boxtcarpel/received_events","type":"User","site_admin":false},"body":"lets initialize to nil. It's good practice to always initialize local vars and for objects it's fine because they start nil, but for primitives you can still get junk values - better to be consistent so it's easy never to miss one.","created_at":"2016-11-11T20:05:53Z","updated_at":"2016-11-11T20:05:53Z","html_url":"https://github.com/box/box-ios-browse-sdk/pull/102#discussion_r87650568","pull_request_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/comments/87650568"},"html":{"href":"https://github.com/box/box-ios-browse-sdk/pull/102#discussion_r87650568"},"pull_request":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102","id":93379810,"html_url":"https://github.com/box/box-ios-browse-sdk/pull/102","diff_url":"https://github.com/box/box-ios-browse-sdk/pull/102.diff","patch_url":"https://github.com/box/box-ios-browse-sdk/pull/102.patch","issue_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/102","number":102,"state":"open","locked":false,"title":"Icon crash","user":{"login":"jlawton","id":456991,"avatar_url":"https://avatars.githubusercontent.com/u/456991?v=3","gravatar_id":"","url":"https://api.github.com/users/jlawton","html_url":"https://github.com/jlawton","followers_url":"https://api.github.com/users/jlawton/followers","following_url":"https://api.github.com/users/jlawton/following{/other_user}","gists_url":"https://api.github.com/users/jlawton/gists{/gist_id}","starred_url":"https://api.github.com/users/jlawton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlawton/subscriptions","organizations_url":"https://api.github.com/users/jlawton/orgs","repos_url":"https://api.github.com/users/jlawton/repos","events_url":"https://api.github.com/users/jlawton/events{/privacy}","received_events_url":"https://api.github.com/users/jlawton/received_events","type":"User","site_admin":false},"body":"Fix a crash getting an icon for an unknown file type.","created_at":"2016-11-11T18:55:40Z","updated_at":"2016-11-11T20:05:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e8de38217948c1708fa57fd85bed4323f53933b6","assignee":{"login":"jdizoglio","id":889666,"avatar_url":"https://avatars.githubusercontent.com/u/889666?v=3","gravatar_id":"","url":"https://api.github.com/users/jdizoglio","html_url":"https://github.com/jdizoglio","followers_url":"https://api.github.com/users/jdizoglio/followers","following_url":"https://api.github.com/users/jdizoglio/following{/other_user}","gists_url":"https://api.github.com/users/jdizoglio/gists{/gist_id}","starred_url":"https://api.github.com/users/jdizoglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdizoglio/subscriptions","organizations_url":"https://api.github.com/users/jdizoglio/orgs","repos_url":"https://api.github.com/users/jdizoglio/repos","events_url":"https://api.github.com/users/jdizoglio/events{/privacy}","received_events_url":"https://api.github.com/users/jdizoglio/received_events","type":"User","site_admin":false},"assignees":[{"login":"jdizoglio","id":889666,"avatar_url":"https://avatars.githubusercontent.com/u/889666?v=3","gravatar_id":"","url":"https://api.github.com/users/jdizoglio","html_url":"https://github.com/jdizoglio","followers_url":"https://api.github.com/users/jdizoglio/followers","following_url":"https://api.github.com/users/jdizoglio/following{/other_user}","gists_url":"https://api.github.com/users/jdizoglio/gists{/gist_id}","starred_url":"https://api.github.com/users/jdizoglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdizoglio/subscriptions","organizations_url":"https://api.github.com/users/jdizoglio/orgs","repos_url":"https://api.github.com/users/jdizoglio/repos","events_url":"https://api.github.com/users/jdizoglio/events{/privacy}","received_events_url":"https://api.github.com/users/jdizoglio/received_events","type":"User","site_admin":false},{"login":"adempsey","id":3188130,"avatar_url":"https://avatars.githubusercontent.com/u/3188130?v=3","gravatar_id":"","url":"https://api.github.com/users/adempsey","html_url":"https://github.com/adempsey","followers_url":"https://api.github.com/users/adempsey/followers","following_url":"https://api.github.com/users/adempsey/following{/other_user}","gists_url":"https://api.github.com/users/adempsey/gists{/gist_id}","starred_url":"https://api.github.com/users/adempsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adempsey/subscriptions","organizations_url":"https://api.github.com/users/adempsey/orgs","repos_url":"https://api.github.com/users/adempsey/repos","events_url":"https://api.github.com/users/adempsey/events{/privacy}","received_events_url":"https://api.github.com/users/adempsey/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102/commits","review_comments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102/comments","review_comment_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/102/comments","statuses_url":"https://api.github.com/repos/box/box-ios-browse-sdk/statuses/036af359e5148ba717488683ebd1d38c5ff330c5","head":{"label":"box:icon-crash","ref":"icon-crash","sha":"036af359e5148ba717488683ebd1d38c5ff330c5","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955420,"name":"box-ios-browse-sdk","full_name":"box/box-ios-browse-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-browse-sdk","description":null,"fork":false,"url":"https://api.github.com/repos/box/box-ios-browse-sdk","forks_url":"https://api.github.com/repos/box/box-ios-browse-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-browse-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-browse-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-browse-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-browse-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-browse-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-browse-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-browse-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-browse-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-browse-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-browse-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-browse-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-browse-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-browse-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-browse-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-browse-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-browse-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-browse-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-browse-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-browse-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-browse-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-browse-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-browse-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-browse-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-browse-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/deployments","created_at":"2015-04-14T20:30:27Z","updated_at":"2016-11-02T00:52:28Z","pushed_at":"2016-11-11T18:55:40Z","git_url":"git://github.com/box/box-ios-browse-sdk.git","ssh_url":"git@github.com:box/box-ios-browse-sdk.git","clone_url":"https://github.com/box/box-ios-browse-sdk.git","svn_url":"https://github.com/box/box-ios-browse-sdk","homepage":null,"size":1045,"stargazers_count":10,"watchers_count":10,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":10,"default_branch":"master"}},"base":{"label":"box:master","ref":"master","sha":"aa968f7efe82628588045d5327708884e88fa1d4","user":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"repo":{"id":33955420,"name":"box-ios-browse-sdk","full_name":"box/box-ios-browse-sdk","owner":{"login":"box","id":23900,"avatar_url":"https://avatars.githubusercontent.com/u/23900?v=3","gravatar_id":"","url":"https://api.github.com/users/box","html_url":"https://github.com/box","followers_url":"https://api.github.com/users/box/followers","following_url":"https://api.github.com/users/box/following{/other_user}","gists_url":"https://api.github.com/users/box/gists{/gist_id}","starred_url":"https://api.github.com/users/box/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box/subscriptions","organizations_url":"https://api.github.com/users/box/orgs","repos_url":"https://api.github.com/users/box/repos","events_url":"https://api.github.com/users/box/events{/privacy}","received_events_url":"https://api.github.com/users/box/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/box/box-ios-browse-sdk","description":null,"fork":false,"url":"https://api.github.com/repos/box/box-ios-browse-sdk","forks_url":"https://api.github.com/repos/box/box-ios-browse-sdk/forks","keys_url":"https://api.github.com/repos/box/box-ios-browse-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/box/box-ios-browse-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/box/box-ios-browse-sdk/teams","hooks_url":"https://api.github.com/repos/box/box-ios-browse-sdk/hooks","issue_events_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/box/box-ios-browse-sdk/events","assignees_url":"https://api.github.com/repos/box/box-ios-browse-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/box/box-ios-browse-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/box/box-ios-browse-sdk/tags","blobs_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/box/box-ios-browse-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/box/box-ios-browse-sdk/languages","stargazers_url":"https://api.github.com/repos/box/box-ios-browse-sdk/stargazers","contributors_url":"https://api.github.com/repos/box/box-ios-browse-sdk/contributors","subscribers_url":"https://api.github.com/repos/box/box-ios-browse-sdk/subscribers","subscription_url":"https://api.github.com/repos/box/box-ios-browse-sdk/subscription","commits_url":"https://api.github.com/repos/box/box-ios-browse-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/box/box-ios-browse-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/box/box-ios-browse-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/box/box-ios-browse-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/box/box-ios-browse-sdk/merges","archive_url":"https://api.github.com/repos/box/box-ios-browse-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/box/box-ios-browse-sdk/downloads","issues_url":"https://api.github.com/repos/box/box-ios-browse-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/box/box-ios-browse-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/box/box-ios-browse-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/box/box-ios-browse-sdk/labels{/name}","releases_url":"https://api.github.com/repos/box/box-ios-browse-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/box/box-ios-browse-sdk/deployments","created_at":"2015-04-14T20:30:27Z","updated_at":"2016-11-02T00:52:28Z","pushed_at":"2016-11-11T18:55:40Z","git_url":"git://github.com/box/box-ios-browse-sdk.git","ssh_url":"git@github.com:box/box-ios-browse-sdk.git","clone_url":"https://github.com/box/box-ios-browse-sdk.git","svn_url":"https://github.com/box/box-ios-browse-sdk","homepage":null,"size":1045,"stargazers_count":10,"watchers_count":10,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102"},"html":{"href":"https://github.com/box/box-ios-browse-sdk/pull/102"},"issue":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/102"},"comments":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/box/box-ios-browse-sdk/statuses/036af359e5148ba717488683ebd1d38c5ff330c5"}}}}
{"actor":{"display_login":"boxtcarpel"}}