oxsean commented on code in PR #14899:
URL: https://github.com/apache/dubbo/pull/14899#discussion_r1844962819


##########
dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/HttpUtils.java:
##########
@@ -138,7 +138,7 @@ public static List<Locale> parseAcceptLanguage(String 
header) {
     public static List<Locale> parseContentLanguage(String header) {
         List<Locale> locales = new ArrayList<>();
         if (header == null) {

Review Comment:
   Can you move this line to line 143? This will avoid creating unnecessary 
objects



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