Kaynağa Gözat

Removed unnecessary parentheses...no functional changes.

Christian Noon 10 yıl önce
ebeveyn
işleme
1f2f391144
1 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 3
      Source/ParameterEncoding.swift

+ 1 - 3
Source/ParameterEncoding.swift

@@ -102,9 +102,7 @@ public enum ParameterEncoding {
 
             if let method = Method(rawValue: mutableURLRequest.HTTPMethod) where encodesParametersInURL(method) {
                 if let URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false) {
-                    let percentEncodedQuery = (
-                        (URLComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters!)
-                    )
+                    let percentEncodedQuery = (URLComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters!)
                     URLComponents.percentEncodedQuery = percentEncodedQuery
                     mutableURLRequest.URL = URLComponents.URL
                 }