format source with scalafmt, #26511
This commit is contained in:
parent
2ba9b988df
commit
75579bed17
779 changed files with 15729 additions and 13096 deletions
|
|
@ -57,8 +57,9 @@ class ProtobufSerializer(val system: ExtendedActorSystem) extends BaseSerializer
|
|||
val unCachedParsingMethod =
|
||||
if (method eq null) clazz.getDeclaredMethod("parseFrom", ProtobufSerializer.ARRAY_OF_BYTE_ARRAY: _*)
|
||||
else method
|
||||
if (parsingMethodBindingRef.compareAndSet(parsingMethodBinding,
|
||||
parsingMethodBinding.updated(clazz, unCachedParsingMethod)))
|
||||
if (parsingMethodBindingRef.compareAndSet(
|
||||
parsingMethodBinding,
|
||||
parsingMethodBinding.updated(clazz, unCachedParsingMethod)))
|
||||
unCachedParsingMethod
|
||||
else
|
||||
parsingMethod(unCachedParsingMethod)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue