File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -311,23 +311,11 @@ public class NSMutableURLRequest : NSURLRequest {
311
311
private var _HTTPMethod : String ? = " GET "
312
312
313
313
public required init ? ( coder aDecoder: NSCoder ) {
314
- NSUnimplemented ( )
315
- }
316
-
317
- /*!
318
- @method initWithURL:
319
- @abstract Initializes an NSMutableURLRequest with the given URL.
320
- @discussion Default values are used for cache policy
321
- (NSURLRequestUseProtocolCachePolicy) and timeout interval (60
322
- seconds).
323
- @param URL The URL for the request.
324
- @result An initialized NSMutableURLRequest.
325
- */
326
- public init ( URL: NSURL ) {
327
314
super. init ( )
328
- _URL = URL
329
315
}
330
316
317
+ private override init ( ) { super. init ( ) }
318
+
331
319
/*!
332
320
@method URL
333
321
@abstract Sets the URL of the receiver.
You can’t perform that action at this time.
0 commit comments