Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.7, 1.6-rc-1
-
None
-
None
Description
As detailed in GROOVY-3237, Groovy currently uses different delimiters when formatting Object[] vs. primitive arrays. Arrays of either type should use the same delimiter.
A recent poll (<http://www.nabble.com/What-shall-it-be-for-arrays%3A-%22-...-%22%2C-%22%7B...%7D%22%2C-or-%22%28...%29%22--td21272614.html>) was overwhelmingly (unanimous so far) in favor of square brackets, just like collections and primitive arrays are in Groovy 1.5.
Attachments
Issue Links
- is related to
-
GROOVY-3237 println is inconsistent
- Closed