{"action":"opened","issue":{"url":"https://api.github.com/repos/venmo/Static/issues/70","labels_url":"https://api.github.com/repos/venmo/Static/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/venmo/Static/issues/70/comments","events_url":"https://api.github.com/repos/venmo/Static/issues/70/events","html_url":"https://github.com/venmo/Static/issues/70","id":127029683,"number":70,"title":"Redundant function.","user":{"login":"aashishdhawan","id":1090001,"avatar_url":"https://avatars.githubusercontent.com/u/1090001?v=3","gravatar_id":"","url":"https://api.github.com/users/aashishdhawan","html_url":"https://github.com/aashishdhawan","followers_url":"https://api.github.com/users/aashishdhawan/followers","following_url":"https://api.github.com/users/aashishdhawan/following{/other_user}","gists_url":"https://api.github.com/users/aashishdhawan/gists{/gist_id}","starred_url":"https://api.github.com/users/aashishdhawan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aashishdhawan/subscriptions","organizations_url":"https://api.github.com/users/aashishdhawan/orgs","repos_url":"https://api.github.com/users/aashishdhawan/repos","events_url":"https://api.github.com/users/aashishdhawan/events{/privacy}","received_events_url":"https://api.github.com/users/aashishdhawan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-16T14:47:38Z","updated_at":"2016-01-16T14:47:38Z","closed_at":null,"body":"The function `private func refreshTableSections(oldSections: [Section]? = nil) {` in `DataSource.swift` seems pretty much redundant to me. \r\n\r\nIt is private function and only being called [once](https://github.com/venmo/Static/blob/master/Static/DataSource.swift#L84) in the project and that too without any parameter which cause an early [return](https://github.com/venmo/Static/blob/master/Static/DataSource.swift#L113).\r\n\r\n\r\nI think this is left over from an old code refactoring. What do you think @soffes ?\r\n"}}