Changes needed to build/test/release for 2.12.0 (#21789)
This commit is contained in:
parent
8f0d1a3465
commit
e9253c7c7d
2 changed files with 13 additions and 12 deletions
|
|
@ -39,11 +39,14 @@ class AddressUidExtension(val system: ExtendedActorSystem) extends Extension {
|
|||
else tlr.nextInt().toLong
|
||||
}
|
||||
|
||||
// used by old remoting and part of public api
|
||||
@deprecated("Use longAddressUid instead", "2.4.x")
|
||||
lazy val addressUid: Int = {
|
||||
// private because GenJavaDoc fails on deprecated annotated lazy val
|
||||
private lazy val _addressUid: Int = {
|
||||
if (arteryEnabled) {
|
||||
throw new IllegalStateException("Int UID must never be used with Artery")
|
||||
} else longAddressUid.toInt
|
||||
}
|
||||
|
||||
// used by old remoting and part of public api
|
||||
@deprecated("Use longAddressUid instead", "2.4.x")
|
||||
def addressUid: Int = _addressUid
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue