浏览代码

Removed ambiguous response serializer methods that collide with default parameters.

Christian Noon 10 年之前
父节点
当前提交
af1e24c383
共有 1 个文件被更改,包括 0 次插入22 次删除
  1. 0 22
      Source/Alamofire.swift

+ 0 - 22
Source/Alamofire.swift

@@ -1365,17 +1365,6 @@ extension Request {
         }
     }
 
-    /**
-        Adds a handler to be called once the request has finished.
-
-        :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the string, if one could be created from the URL response and data, and any error produced while creating the string.
-
-        :returns: The request.
-    */
-    public func responseString(completionHandler: (NSURLRequest, NSHTTPURLResponse?, String?, NSError?) -> Void) -> Self {
-        return responseString(completionHandler: completionHandler)
-    }
-
     /**
         Adds a handler to be called once the request has finished.
 
@@ -1452,17 +1441,6 @@ extension Request {
         }
     }
 
-    /**
-        Adds a handler to be called once the request has finished.
-
-        :param: completionHandler A closure to be executed once the request has finished. The closure takes 4 arguments: the URL request, the URL response, if one was received, the property list, if one could be created from the URL response and data, and any error produced while creating the property list.
-
-        :returns: The request.
-    */
-    public func responsePropertyList(completionHandler: (NSURLRequest, NSHTTPURLResponse?, AnyObject?, NSError?) -> Void) -> Self {
-        return responsePropertyList(completionHandler: completionHandler)
-    }
-
     /**
         Adds a handler to be called once the request has finished.