yin-bo-Final opened a new pull request, #16315:
URL: https://github.com/apache/dubbo/pull/16315

   ### What changed
   
   This PR improves the CIDR naming in `AddressMatch` while keeping backward 
compatibility.
   
   - Added `cidr` field and `getCidr` / `setCidr` accessors.
   - Kept the existing `cird` field and `getCird` / `setCird` accessors as 
deprecated for compatibility.
   - Updated internal matching logic to use `getCidr()`.
   - Added tests to cover both `cidr` and deprecated `cird` field mapping 
through `PojoUtils`.
   - Fixed the remaining `cird` typo in `NetUtils` Javadoc.
   
   ### Motivation
   
   `cird` appears to be a typo of `cidr`, where CIDR stands for Classless 
Inter-Domain Routing. Since the old name may already be used by configuration 
binding or external code, this PR keeps backward compatibility while 
introducing the correct naming.
   
   Closes #16314
   
   ### Tests
   
   ```bash
   ./mvnw -pl dubbo-cluster -Dtest=AddressMatchTest test
   ```
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to