Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
MAC OSX Leopard
Description
This snipset of groovy:
def options = [deep: true, fields: true, other: true] def deep = "deep,fields".split(',') options.subMap(deep)
fails with error:
No signature of method: java.util.LinkedHashMap.subMap() is applicable for argument types: ([Ljava.lang.String;) values: [[deep, fields]] Possible solutions: subMap(java.util.Collection), dump(), spread(), sleep(long)