yuluo-yx opened a new issue, #11290:
URL: https://github.com/apache/dubbo/issues/11290

   ### Environment
   
   * Dubbo version: latest
   * Operating System version: windows10
   * Java version: jdk17
   
   在`org.apache.dubbo.config.AbstractInterfaceConfig`中`@link`注解使用格式不一致
   ```
   /**
        * @deprecated Use {@link ConfigManager#getMetadataConfigs()}
        */
       @Deprecated
       public MetadataReportConfig getMetadataReportConfig() {
           if (metadataReportConfig != null) {
               return metadataReportConfig;
           }
           Collection<MetadataReportConfig> metadataReportConfigs = 
getConfigManager().getMetadataConfigs();
           if (CollectionUtils.isNotEmpty(metadataReportConfigs)) {
               return metadataReportConfigs.iterator().next();
           }
           return null;
       }
   
       /**
        * @deprecated Use {@link 
ConfigManager#addMetadataReport(MetadataReportConfig)}
        */
       @Deprecated
       public void setMetadataReportConfig(MetadataReportConfig 
metadataReportConfig) {
           this.metadataReportConfig = metadataReportConfig;
           if (metadataReportConfig != null) {
               getConfigManager().addMetadataReport(metadataReportConfig);
           }
       }
   ```
   ```
       /**
        * @deprecated Use {@link 
org.apache.dubbo.config.context.ConfigManager#addConfigCenter(ConfigCenterConfig)}
        */
       @Deprecated
       public void setConfigCenter(ConfigCenterConfig configCenter) {
           this.configCenter = configCenter;
           if (configCenter != null) {
               getConfigManager().addConfigCenter(configCenter);
           }
       }
   ```
   通过对比发现,`@link`引用的类格式不一致!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to