pjfanning commented on code in PR #1089:
URL: https://github.com/apache/pekko-http/pull/1089#discussion_r3477538713


##########
http-core/src/main/java/org/apache/pekko/http/javadsl/model/Multiparts.java:
##########
@@ -109,7 +108,7 @@ public static Multipart.FormData.BodyPart 
createFormDataPartFromPath(
   public static Multipart.FormData.BodyPart createFormDataBodyPart(
       String name, BodyPartEntity entity) {
     List nil = Nil$.MODULE$;
-    Map<String, String> additionalDispositionParams = Collections.emptyMap();

Review Comment:
   I prefer Collections.emptyMap() - does not create a new map



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