dubbo icon indicating copy to clipboard operation
dubbo copied to clipboard

dubbo-config package hard coded value replacement for few java class

Open khanimteyaz opened this issue 7 years ago • 2 comments

Replace existing hard coded values for dubbo-config below classes

  • dubbo-common/src/main/java/org/apache/dubbo/common/Constants.java
  • dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractConfig.java
  • dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java
  • dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractMethodConfig.java
  • dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/AbstractReferenceConfig.java
  • dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ConsumerConfig.java

Along with hard coded value replacement have done small refactoring to use java stream and lambda.

  • [ ] I have searched the issues of this repository and believe that this is not a duplicate.
  • [ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: xxx
  • Operating System version: xxx
  • Java version: xxx

Steps to reproduce this issue

  1. xxx
  2. xxx
  3. xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps?

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!

khanimteyaz avatar Dec 29 '18 14:12 khanimteyaz

on it.

khanimteyaz avatar Dec 29 '18 14:12 khanimteyaz

merged, close it now.

zonghaishang avatar Dec 30 '18 06:12 zonghaishang