829 Star 2.7K Fork 831

GVPJbootProjects / jboot

motanutil中不能自定义protocol的bug

Backlog
yzhou92  Opened this issue

感觉像是笔误

    public static RefererConfig toRefererConfig(JbootrpcReferenceConfig rc) {
        RefererConfig refererConfig = new RefererConfig();
        RPCUtil.copyFields(rc, refererConfig);


        //referer protocol
        if (StrUtil.isNotBlank(rc.getProtocol())) {
            List<ProtocolConfig> protocolConfigs = new ArrayList<>();
            Set<String> protocolNames = StrUtil.splitToSetByComma(rc.getRegistry());
            //应该是"Set<String> protocolNames = StrUtil.splitToSetByComma(rc.getProtocol());"把
...
    public static ServiceConfig toServiceConfig(JbootrpcServiceConfig sc) {
        ServiceConfig serviceConfig = new ServiceConfig();
        RPCUtil.copyFields(sc, serviceConfig);


        //service protocol
        if (StrUtil.isNotBlank(sc.getProtocol())) {
            List<ProtocolConfig> protocolConfigs = new ArrayList<>();
            Set<String> protocolNames = StrUtil.splitToSetByComma(sc.getRegistry());
            //同样"Set<String> protocolNames = StrUtil.splitToSetByComma(sc.getProtocol());"
total 1 participants

Comments (0)

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
Java
1
https://gitee.com/JbootProjects/jboot.git
git@gitee.com:JbootProjects/jboot.git
JbootProjects
jboot
jboot

Search