theMap.reverse{it.value}
Monday, January 11, 2010
More Groovy Bugs
While trying to add some sorting to my ValidateMe script, I discovered a Groovy bug that someone else reported on Thursday. It appears that although inner classes are supposed to be supported in the new Groovy 1.7, calling methods on enums inside a class do not. I've also created another suggestion for a reverse() method on Maps. I did add the changes I wanted to ValidateMe without these Jiras being addressed. What I did for the reverse was do something like
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment