Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kishikawakatsumi committed Mar 16, 2016
1 parent 2b3a8e3 commit d9b08ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/KeychainAccess/Keychain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -871,8 +871,7 @@ public class Keychain {
}
}
if let credentials = credentials {
let casted = credentials as NSArray
let credentials = casted.map { credentials -> [String: String] in
let credentials = (credentials as NSArray).map { credentials -> [String: String] in
var credential = [String: String]()
if let server = credentials[AttributeServer] as? String {
credential["server"] = server
Expand Down

0 comments on commit d9b08ed

Please sign in to comment.