You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@grails.apache.org by "jamesfredley (via GitHub)" <gi...@apache.org> on 2026/05/29 14:18:37 UTC

[I] In tests: standardizing on parentheses for method calls [grails-core]

jamesfredley opened a new issue, #15701:
URL: https://github.com/apache/grails-core/issues/15701

   ### Issue description
   
   Standardizing on parentheses for method calls.  It is the majority
   
   on `origin/8.0.x`
   
   Combined `eq` + `like`:
   
   | Scope | paren | no-paren | split |
   |-------|------:|------:|:-----:|
   | All `.groovy` | **109** (92 + 17) | 97 (77 + 20) | ~53 / 47 |
   | `*Spec.groovy` only | **94** (79 + 15) | 78 (69 + 9) | ~55 / 45 |
   
   Per-method breakdown:
   
   | Method / scope | paren | no-paren |
   |---|------:|------:|
   | `eq` - all groovy | **92** | 77 |
   | `eq` - specs only | **79** | 69 |
   | `like` - all groovy | 17 | **20** |
   | `like` - specs only | **15** | 9 |
   
   
   ## Verdict
   - Historically on `8.0.x`, the **parenthesized form is the plurality** - roughly 55/45 in specs, 53/47 overall.
   


-- 
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: notifications-unsubscribe@grails.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org