Skip to content

Commit

Permalink
Merge pull request #1595 from rauhul/fix_open_let_properties
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci authored Jun 13, 2018
2 parents d501e38 + e75106e commit f20c62a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Foundation/NSURL.swift
Original file line number Diff line number Diff line change
Expand Up @@ -955,8 +955,8 @@ open class NSURLQueryItem : NSObject, NSSecureCoding, NSCopying {
&& other.value == self.value)
}

open let name: String
open let value: String?
open private(set) var name: String
open private(set) var value: String?
}

open class NSURLComponents: NSObject, NSCopying {
Expand Down
4 changes: 2 additions & 2 deletions Foundation/URLSession/URLSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ open class URLSession : NSObject {
let _ = URLSession.registerProtocols
}

open let delegateQueue: OperationQueue
open private(set) var delegateQueue: OperationQueue
open var delegate: URLSessionDelegate?
open let configuration: URLSessionConfiguration
open private(set) var configuration: URLSessionConfiguration

/*
* The sessionDescription property is available for the developer to
Expand Down
4 changes: 2 additions & 2 deletions Foundation/URLSession/URLSessionTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ open class URLSessionTask : NSObject, NSCopying {
}

/// An identifier for this task, assigned by and unique to the owning session
open let taskIdentifier: Int
open private(set) var taskIdentifier: Int

/// May be nil if this is a stream task
/*@NSCopying*/ open let originalRequest: URLRequest?
/*@NSCopying*/ open private(set) var originalRequest: URLRequest?

/// May differ from originalRequest due to http server redirection
/*@NSCopying*/ open internal(set) var currentRequest: URLRequest? {
Expand Down

0 comments on commit f20c62a

Please sign in to comment.