remove deprecated constructor in serializers, #21423
This commit is contained in:
parent
cc8c543b90
commit
db74c33130
5 changed files with 8 additions and 40 deletions
|
|
@ -40,14 +40,6 @@ object ProtobufSerializer {
|
|||
*/
|
||||
class ProtobufSerializer(val system: ExtendedActorSystem) extends BaseSerializer {
|
||||
|
||||
@deprecated("Use constructor with ExtendedActorSystem", "2.4")
|
||||
def this() = this(null)
|
||||
|
||||
// TODO remove this when deprecated this() is removed
|
||||
override val identifier: Int =
|
||||
if (system eq null) 2
|
||||
else identifierFromConfig
|
||||
|
||||
@deprecated("Will be removed without replacement", "2.4")
|
||||
val ARRAY_OF_BYTE_ARRAY = Array[Class[_]](classOf[Array[Byte]])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue