Skip to content

Commit 69344b0

Browse files
committed
remove unused _appending function
1 parent e0b3143 commit 69344b0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

AmplifyPlugins/Predictions/AWSPredictionsPlugin/Signing/URL+Signing.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,4 @@ extension URL {
4242

4343
return url ?? self
4444
}
45-
46-
func _appending(queryItem: URLQueryItem) -> URL {
47-
if #available(iOS 16, *) {
48-
return appending(queryItems: [queryItem])
49-
} else {
50-
var components = URLComponents(url: self, resolvingAgainstBaseURL: false)
51-
components?.queryItems?.append(queryItem)
52-
return components?.url ?? self
53-
}
54-
}
5545
}

0 commit comments

Comments
 (0)