borinquenkid commented on code in PR #15568: URL: https://github.com/apache/grails-core/pull/15568#discussion_r3463132393
########## grails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/GrailsDomainBinder.java: ########## Review Comment: Good call — done (commit 85e53634c6). This method is essentially an orchestrator: a long run of `TypeName x = new TypeName(...)` where the type is repeated verbatim on the right, so converting the 36 locals to `var` removes the redundant left-hand repetition and makes the wiring much easier to read, exactly as you said. No behaviour change (compile-time inference), compiles and checkstyle passes. Resolving. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
