{"action":"created","comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/47017049","id":47017049,"diff_hunk":"@@ -329,13 +317,13 @@ internal func _NSXMLParserEndElementNs(ctx: _CFXMLInterface , localname: UnsafeP\n     let reportQNameURI = parser.shouldProcessNamespaces\n     let prefixLen = prefix == nil ? strlen(UnsafePointer<Int8>(prefix)) : 0\n     let localnameString = (prefixLen == 0 || reportQNameURI) ? UTF8STRING(localname) : nil\n-    let nilStr: String? = nil\n+    let nilStr: String?","path":"Foundation/NSXMLParser.swift","position":109,"original_position":109,"commit_id":"ed3923255d70b50abf05e8f6b38573783a6d692d","original_commit_id":"ed3923255d70b50abf05e8f6b38573783a6d692d","user":{"login":"phausler","id":278470,"avatar_url":"https://avatars.githubusercontent.com/u/278470?v=3","gravatar_id":"","url":"https://api.github.com/users/phausler","html_url":"https://github.com/phausler","followers_url":"https://api.github.com/users/phausler/followers","following_url":"https://api.github.com/users/phausler/following{/other_user}","gists_url":"https://api.github.com/users/phausler/gists{/gist_id}","starred_url":"https://api.github.com/users/phausler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phausler/subscriptions","organizations_url":"https://api.github.com/users/phausler/orgs","repos_url":"https://api.github.com/users/phausler/repos","events_url":"https://api.github.com/users/phausler/events{/privacy}","received_events_url":"https://api.github.com/users/phausler/received_events","type":"User","site_admin":false},"body":"this is required to have an initialization by the compiler","created_at":"2015-12-08T21:34:52Z","updated_at":"2015-12-08T21:34:52Z","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/43#discussion_r47017049","pull_request_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments/47017049"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/43#discussion_r47017049"},"pull_request":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43","id":52758007,"html_url":"https://github.com/apple/swift-corelibs-foundation/pull/43","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/43.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/43.patch","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/43","number":43,"state":"open","locked":false,"title":"Improve control flow and some fix","user":{"login":"ken0nek","id":5785300,"avatar_url":"https://avatars.githubusercontent.com/u/5785300?v=3","gravatar_id":"","url":"https://api.github.com/users/ken0nek","html_url":"https://github.com/ken0nek","followers_url":"https://api.github.com/users/ken0nek/followers","following_url":"https://api.github.com/users/ken0nek/following{/other_user}","gists_url":"https://api.github.com/users/ken0nek/gists{/gist_id}","starred_url":"https://api.github.com/users/ken0nek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken0nek/subscriptions","organizations_url":"https://api.github.com/users/ken0nek/orgs","repos_url":"https://api.github.com/users/ken0nek/repos","events_url":"https://api.github.com/users/ken0nek/events{/privacy}","received_events_url":"https://api.github.com/users/ken0nek/received_events","type":"User","site_admin":false},"body":"- Use `guard let` and return early.\r\n- Remove needless parenthesis.\r\n- combiine several `if let`","created_at":"2015-12-05T16:20:57Z","updated_at":"2015-12-08T21:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"665e7391e86c5979d42214f565ba86a80183fe95","assignee":{"login":"phausler","id":278470,"avatar_url":"https://avatars.githubusercontent.com/u/278470?v=3","gravatar_id":"","url":"https://api.github.com/users/phausler","html_url":"https://github.com/phausler","followers_url":"https://api.github.com/users/phausler/followers","following_url":"https://api.github.com/users/phausler/following{/other_user}","gists_url":"https://api.github.com/users/phausler/gists{/gist_id}","starred_url":"https://api.github.com/users/phausler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phausler/subscriptions","organizations_url":"https://api.github.com/users/phausler/orgs","repos_url":"https://api.github.com/users/phausler/repos","events_url":"https://api.github.com/users/phausler/events{/privacy}","received_events_url":"https://api.github.com/users/phausler/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43/commits","review_comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43/comments","review_comment_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/43/comments","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/ed3923255d70b50abf05e8f6b38573783a6d692d","head":{"label":"ken0nek:master","ref":"master","sha":"ed3923255d70b50abf05e8f6b38573783a6d692d","user":{"login":"ken0nek","id":5785300,"avatar_url":"https://avatars.githubusercontent.com/u/5785300?v=3","gravatar_id":"","url":"https://api.github.com/users/ken0nek","html_url":"https://github.com/ken0nek","followers_url":"https://api.github.com/users/ken0nek/followers","following_url":"https://api.github.com/users/ken0nek/following{/other_user}","gists_url":"https://api.github.com/users/ken0nek/gists{/gist_id}","starred_url":"https://api.github.com/users/ken0nek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken0nek/subscriptions","organizations_url":"https://api.github.com/users/ken0nek/orgs","repos_url":"https://api.github.com/users/ken0nek/repos","events_url":"https://api.github.com/users/ken0nek/events{/privacy}","received_events_url":"https://api.github.com/users/ken0nek/received_events","type":"User","site_admin":false},"repo":{"id":47461736,"name":"swift-corelibs-foundation","full_name":"ken0nek/swift-corelibs-foundation","owner":{"login":"ken0nek","id":5785300,"avatar_url":"https://avatars.githubusercontent.com/u/5785300?v=3","gravatar_id":"","url":"https://api.github.com/users/ken0nek","html_url":"https://github.com/ken0nek","followers_url":"https://api.github.com/users/ken0nek/followers","following_url":"https://api.github.com/users/ken0nek/following{/other_user}","gists_url":"https://api.github.com/users/ken0nek/gists{/gist_id}","starred_url":"https://api.github.com/users/ken0nek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken0nek/subscriptions","organizations_url":"https://api.github.com/users/ken0nek/orgs","repos_url":"https://api.github.com/users/ken0nek/repos","events_url":"https://api.github.com/users/ken0nek/events{/privacy}","received_events_url":"https://api.github.com/users/ken0nek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ken0nek/swift-corelibs-foundation","description":"The Foundation Project, providing core utilities, internationalization, and OS independence","fork":true,"url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation","forks_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/forks","keys_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/teams","hooks_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/hooks","issue_events_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/issues/events{/number}","events_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/events","assignees_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/assignees{/user}","branches_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/branches{/branch}","tags_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/tags","blobs_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/git/refs{/sha}","trees_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/statuses/{sha}","languages_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/languages","stargazers_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/stargazers","contributors_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/contributors","subscribers_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/subscribers","subscription_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/subscription","commits_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/commits{/sha}","git_commits_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/git/commits{/sha}","comments_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/comments{/number}","issue_comment_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/issues/comments{/number}","contents_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/contents/{+path}","compare_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/merges","archive_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/downloads","issues_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/issues{/number}","pulls_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/pulls{/number}","milestones_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/milestones{/number}","notifications_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/labels{/name}","releases_url":"https://api.github.com/repos/ken0nek/swift-corelibs-foundation/releases{/id}","created_at":"2015-12-05T15:47:50Z","updated_at":"2015-12-05T15:47:54Z","pushed_at":"2015-12-05T16:18:20Z","git_url":"git://github.com/ken0nek/swift-corelibs-foundation.git","ssh_url":"git@github.com:ken0nek/swift-corelibs-foundation.git","clone_url":"https://github.com/ken0nek/swift-corelibs-foundation.git","svn_url":"https://github.com/ken0nek/swift-corelibs-foundation","homepage":"swift.org","size":2485,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"apple:master","ref":"master","sha":"e2a1d0cea0254d065a14378389e5eb2c646a1ec4","user":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"repo":{"id":45863890,"name":"swift-corelibs-foundation","full_name":"apple/swift-corelibs-foundation","owner":{"login":"apple","id":10639145,"avatar_url":"https://avatars.githubusercontent.com/u/10639145?v=3","gravatar_id":"","url":"https://api.github.com/users/apple","html_url":"https://github.com/apple","followers_url":"https://api.github.com/users/apple/followers","following_url":"https://api.github.com/users/apple/following{/other_user}","gists_url":"https://api.github.com/users/apple/gists{/gist_id}","starred_url":"https://api.github.com/users/apple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apple/subscriptions","organizations_url":"https://api.github.com/users/apple/orgs","repos_url":"https://api.github.com/users/apple/repos","events_url":"https://api.github.com/users/apple/events{/privacy}","received_events_url":"https://api.github.com/users/apple/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apple/swift-corelibs-foundation","description":"The Foundation Project, providing core utilities, internationalization, and OS independence","fork":false,"url":"https://api.github.com/repos/apple/swift-corelibs-foundation","forks_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/forks","keys_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/teams","hooks_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/hooks","issue_events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/events{/number}","events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/events","assignees_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/assignees{/user}","branches_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/branches{/branch}","tags_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/tags","blobs_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/refs{/sha}","trees_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/{sha}","languages_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/languages","stargazers_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/stargazers","contributors_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/contributors","subscribers_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/subscribers","subscription_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/subscription","commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/commits{/sha}","git_commits_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/git/commits{/sha}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/comments{/number}","issue_comment_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/comments{/number}","contents_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/contents/{+path}","compare_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/merges","archive_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/downloads","issues_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues{/number}","pulls_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls{/number}","milestones_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/milestones{/number}","notifications_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/labels{/name}","releases_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/releases{/id}","created_at":"2015-11-09T20:12:23Z","updated_at":"2015-12-08T20:24:54Z","pushed_at":"2015-12-08T21:27:04Z","git_url":"git://github.com/apple/swift-corelibs-foundation.git","ssh_url":"git@github.com:apple/swift-corelibs-foundation.git","clone_url":"https://github.com/apple/swift-corelibs-foundation.git","svn_url":"https://github.com/apple/swift-corelibs-foundation","homepage":"swift.org","size":2709,"stargazers_count":1258,"watchers_count":1258,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":198,"mirror_url":null,"open_issues_count":27,"forks":198,"open_issues":27,"watchers":1258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43"},"html":{"href":"https://github.com/apple/swift-corelibs-foundation/pull/43"},"issue":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/43"},"comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/apple/swift-corelibs-foundation/statuses/ed3923255d70b50abf05e8f6b38573783a6d692d"}}}}