You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "beiwei30 (GitHub)" <gi...@apache.org> on 2018/12/07 08:02:35 UTC
[GitHub] [incubator-dubbo] beiwei30 commented on issue #2831: 修改jdk不兼容问题
one question, to solve this issue, is it as simple as changing all `compareTo(Router o)` implementation to:
```
@Override
public int compareTo(Router o) {
if (!(o instanceof ScriptRouter)) {
return 0; // from 1 to 0
}
...
```
instead of introducing `Integer getPriority();` on the interface?
[ Full content available at: https://github.com/apache/incubator-dubbo/pull/2831 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org