From 1e7930f48a53bcb45593c76e7af547b36cadd86b Mon Sep 17 00:00:00 2001 From: Carlos Correia Date: Mon, 21 Jan 2019 11:25:36 +0000 Subject: [PATCH] remove obsolete comments --- AlamofireObjectMapper/AlamofireObjectMapper.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/AlamofireObjectMapper/AlamofireObjectMapper.swift b/AlamofireObjectMapper/AlamofireObjectMapper.swift index ac4d7f3..658f606 100644 --- a/AlamofireObjectMapper/AlamofireObjectMapper.swift +++ b/AlamofireObjectMapper/AlamofireObjectMapper.swift @@ -349,14 +349,10 @@ public final class MappableArrayResponseSerializer: ResponseSer } } - - /// Utility function for extracting JSON from response internal func processResponse(request: URLRequest?, response: HTTPURLResponse?, data: Data?, keyPath: String?) -> Any? { - // ResponseSerializer( let jsonResponseSerializer = JSONResponseSerializer(options: .allowFragments) - //let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments) if let result = try? jsonResponseSerializer.serialize(request: request, response: response, data: data, error: nil) { let JSON: Any?