2
2
//
3
3
// This source file is part of the RediStack open source project
4
4
//
5
- // Copyright (c) 2020 RediStack project authors
5
+ // Copyright (c) 2020-2022 RediStack project authors
6
6
// Licensed under Apache License v2.0
7
7
//
8
8
// See LICENSE.txt for license information
@@ -19,7 +19,7 @@ extension RedisConnection {
19
19
/// The documented default port that Redis connects through.
20
20
///
21
21
/// See [https://redis.io/topics/quickstart](https://redis.io/topics/quickstart)
22
- @available ( * , deprecated, message : " Use RedisConnection.Configuration.defaultPort" )
22
+ @available ( * , deprecated, renamed : " RedisConnection.Configuration.defaultPort " )
23
23
public static var defaultPort : Int { Configuration . defaultPort }
24
24
25
25
/// Creates a new connection to a Redis instance.
@@ -132,10 +132,10 @@ extension RedisConnectionPool {
132
132
}
133
133
134
134
// MARK: - RedisKeyLifetime
135
- @available ( * , deprecated, message : " renamed to RedisKey.Lifetime" )
135
+ @available ( * , deprecated, renamed : " RedisKey.Lifetime " )
136
136
public typealias RedisKeyLifetime = RedisKey . Lifetime
137
137
138
138
extension RedisKey . Lifetime {
139
- @available ( * , deprecated, message : " renamed to Duration" )
139
+ @available ( * , deprecated, renamed : " Duration " )
140
140
public typealias Lifetime = Duration
141
141
}
0 commit comments