Преглед изворни кода

Removed unnecessary parentheses...no functional changes.

Christian Noon пре 10 година
родитељ
комит
1f2f391144
1 измењених фајлова са 1 додато и 3 уклоњено
  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
                 }