Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.5
Description
The following code:
def set = [] as Set
will generate a LinkedHashSet, but this one:
Set set = []
generates a simple HashSet. For consistency, it would be better if both created a LinkedHashSet.