eric-milles commented on a change in pull request #1660:
URL: https://github.com/apache/groovy/pull/1660#discussion_r762605637
##########
File path: src/main/java/groovy/lang/NamedValue.java
##########
@@ -0,0 +1,24 @@
+package groovy.lang;
+
+public class NamedValue<T> {
Review comment:
`Map.Entry` can have any `toString()` behavior you want. It is an
interface, you choose the implementation within the macro method. Name and
value vs. key and value is not that big of a difference to justify an entirely
separate abstraction.
--
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]