belugabehr commented on a change in pull request #977: URL: https://github.com/apache/orc/pull/977#discussion_r774861777
########## File path: java/core/src/java/org/apache/orc/TypeDescription.java ########## @@ -372,9 +372,7 @@ public TypeDescription clone() { result.children.add(clone); } } - for (Map.Entry<String,String> pair: attributes.entrySet()) { - result.attributes.put(pair.getKey(), pair.getValue()); - } + result.attributes.putAll(attributes); Review comment: No need to iterate like this. -- 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: dev-unsubscr...@orc.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org