AlagbeAwwal1 opened a new pull request, #15282: URL: https://github.com/apache/dubbo/pull/15282
This commit addresses several code quality issues: - Fixed duplicate code and magic numbers by extracting methods and introducing explaining variables - Improved long statements and complex conditionals through method decomposition and conditional simplification - Resolved broken modularization by logically grouping constants - Refactored God class by extracting specialized classes and implementing polymorphic handlers The changes primarily affect: - MulticastRegistry.java - Constants.java - PerformanceRegistryTest.java These refactorings enhance maintainability, readability, and adherence to SOLID principles. -- 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 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