You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/28 09:52:25 UTC
[GitHub] [pulsar] linlinnn commented on pull request #10731: [function] fix update user config
linlinnn commented on pull request #10731:
URL: https://github.com/apache/pulsar/pull/10731#issuecomment-850299348
> In this way, `userConfigMap ` will be null if user does not set user config. We need to confirm if this will cause Conext.getUserConfigMap() return null. In that condition, user may get NPE if they do not handle null in there function code.
@wangjialing218
I think it's a normal case.
Because user always need to judge not null when access a member of object, it's programing specification.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org