22//
33// This source file is part of the RediStack open source project
44//
5- // Copyright (c) 2020 RediStack project authors
5+ // Copyright (c) 2020-2022 RediStack project authors
66// Licensed under Apache License v2.0
77//
88// See LICENSE.txt for license information
@@ -19,7 +19,7 @@ extension RedisConnection {
1919 /// The documented default port that Redis connects through.
2020 ///
2121 /// 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 " )
2323 public static var defaultPort : Int { Configuration . defaultPort }
2424
2525 /// Creates a new connection to a Redis instance.
@@ -132,10 +132,10 @@ extension RedisConnectionPool {
132132}
133133
134134// MARK: - RedisKeyLifetime
135- @available ( * , deprecated, message : " renamed to RedisKey.Lifetime" )
135+ @available ( * , deprecated, renamed : " RedisKey.Lifetime " )
136136public typealias RedisKeyLifetime = RedisKey . Lifetime
137137
138138extension RedisKey . Lifetime {
139- @available ( * , deprecated, message : " renamed to Duration" )
139+ @available ( * , deprecated, renamed : " Duration " )
140140 public typealias Lifetime = Duration
141141}
0 commit comments