Skip to content

Commit

Permalink
refactor: remove unused version available code
Browse files Browse the repository at this point in the history
  • Loading branch information
OhKanghoon committed Jun 20, 2023
1 parent 094542a commit 0662b77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Sources/URLMatcher/URLConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ public protocol URLConvertible {
/// Returns `queryItems` property of `URLComponents` instance.
///
/// - seealso: `queryParameters`
@available(iOS 8, *)
var queryItems: [URLQueryItem]? { get }
}

Expand All @@ -33,7 +32,6 @@ extension URLConvertible {
return parameters
}

@available(iOS 8, *)
public var queryItems: [URLQueryItem]? {
return URLComponents(string: self.urlStringValue)?.queryItems
}
Expand Down

0 comments on commit 0662b77

Please sign in to comment.