[Chore] Fix comment's grammar and modifier's order (#138)
This commit is contained in:
parent
5607f87a54
commit
fb1983937e
|
|
@ -45,7 +45,7 @@ public class BulkConsumePool implements ConsumerPool {
|
|||
}
|
||||
|
||||
@Override
|
||||
synchronized public void add(String name, Channels channels, IConsumer consumer) {
|
||||
public synchronized void add(String name, Channels channels, IConsumer consumer) {
|
||||
MultipleChannelsConsumer multipleChannelsConsumer = getLowestPayload();
|
||||
multipleChannelsConsumer.addNewTarget(channels, consumer);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ public class ContextManager implements BootService {
|
|||
}
|
||||
|
||||
/**
|
||||
* If not sure has the active span, use this method, will be cause NPE when has no active span, use
|
||||
* Using this method will cause NPE if active span does not exist. If one is not sure whether there is an active span, use
|
||||
* ContextManager::isActive method to determine whether there has the active span.
|
||||
*/
|
||||
public static AbstractSpan activeSpan() {
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class DubboInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
* inject to the {@link RpcContext#attachments} for transport to provider side.
|
||||
* <p>
|
||||
* <h2>Provider:</h2> The serialized trace context data will extract from
|
||||
* {@link RpcContext#attachments}. current trace segment will ref if the serialize context data is not null.
|
||||
* {@link RpcContext#attachments}. current trace segment will ref if the serialization context data is not null.
|
||||
*/
|
||||
@Override
|
||||
public void beforeMethod(EnhancedInstance objInst, Method method, Object[] allArguments, Class<?>[] argumentsTypes,
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ public class DubboInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
* inject to the {@link RpcContext#getClientAttachment} for transport to provider side.
|
||||
* <p>
|
||||
* <h2>Provider:</h2> The serialized trace context data will extract from
|
||||
* {@link RpcContext#getServerAttachment}. current trace segment will ref if the serialize context data is not
|
||||
* {@link RpcContext#getServerAttachment}. current trace segment will ref if the serialization context data is not
|
||||
* null.
|
||||
*/
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue