Senrian opened a new pull request, #6299:
URL: https://github.com/apache/shenyu/pull/6299

   ## Description
   
   Replace deprecated `Collections.EMPTY_MAP` with `Collections.emptyMap()` to 
avoid raw type warnings and improve type safety.
   
   This change addresses raw type warnings that can occur when using the 
deprecated EMPTY_MAP, EMPTY_LIST, EMPTY_SET constants.
   
   ## Changes
   - `PullSwaggerDocServiceImpl.java`: Replace Collections.EMPTY_MAP with 
Collections.emptyMap()
   
   ## Additional context
   - Related to Java generics best practices
   - Helps eliminate unchecked warnings in code


-- 
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]

Reply via email to