You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2018/05/28 06:58:15 UTC
[GitHub] tswstarplanet commented on issue #1855: [dubbo-config]parameter is
an object of annotation class,
it doesn't have actual effect to invoke the key method of parameter object
here, so we can delete the line of code!
tswstarplanet commented on issue #1855: [dubbo-config]parameter is an object of annotation class, it doesn't have actual effect to invoke the key method of parameter object here, so we can delete the line of code!
URL: https://github.com/apache/incubator-dubbo/pull/1855#issuecomment-392415901
It's not required to check parameter.key NULL because it has default value "". Meanwhile, you cannot assign a null to Parameter.key because Java requires that the value of annotation's method must be a constant value, but the null is not a constant value.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org