You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "satansk (GitHub)" <gi...@apache.org> on 2019/02/01 07:43:31 UTC

[GitHub] [incubator-dubbo] satansk commented on pull request #3410: refactor loadClass method

This can be simplified as:

```Java
cachedNames.putIfAbsent(clazz, name);
```

which is an atomic operation.

[ Full content available at: https://github.com/apache/incubator-dubbo/pull/3410 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org