Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1nt committed Feb 9, 2023
1 parent 0f6f883 commit 277eee9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,10 @@ public class BoltServerProcessor extends AsyncUserProcessor<SofaRequest> {
* 提前注册序列化器
*/
static {
String extensionAlias = RpcConfigs.getOrDefaultValue(RpcOptions.BOLT_SERIALIZER_REGISTER_EXTENSION, "sofaRpcSerializationRegister");
String extensionAlias = RpcConfigs.getOrDefaultValue(RpcOptions.BOLT_SERIALIZER_REGISTER_EXTENSION,
"sofaRpcSerializationRegister");
ExtensionLoaderFactory.getExtensionLoader(AbstractSerializationRegister.class)
.getExtension(extensionAlias).doRegisterCustomSerializer();
.getExtension(extensionAlias).doRegisterCustomSerializer();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public class BoltClientTransport extends ClientTransport {
static {
RPC_CLIENT.init();

String extensionAlias = RpcConfigs.getOrDefaultValue(RpcOptions.BOLT_SERIALIZER_REGISTER_EXTENSION, "sofaRpcSerializationRegister");
String extensionAlias = RpcConfigs.getOrDefaultValue(RpcOptions.BOLT_SERIALIZER_REGISTER_EXTENSION,
"sofaRpcSerializationRegister");
ExtensionLoaderFactory.getExtensionLoader(AbstractSerializationRegister.class)
.getExtension(extensionAlias).doRegisterCustomSerializer();
}
Expand Down

0 comments on commit 277eee9

Please sign in to comment.