chia7712 commented on code in PR #19869:
URL: https://github.com/apache/kafka/pull/19869#discussion_r2164607256


##########
connect/api/src/main/java/org/apache/kafka/connect/data/SchemaBuilder.java:
##########
@@ -419,7 +419,7 @@ public Schema valueSchema() {
      */
     public Schema build() {
         return new ConnectSchema(type, isOptional(), defaultValue, name, 
version, doc,
-                parameters == null ? null : 
Collections.unmodifiableMap(parameters),
+                parameters == null ? null : Map.copyOf(parameters),

Review Comment:
   This will change the order too, right?



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to