Summary
Two classes in grails-data-hibernate7 were ported from H5 code and carry style issues that were intentionally deferred from PR #15568 to keep the review surface focused on the H7 integration work.
Files
Work
- Replace inline FQCNs with import statements in
HibernateCriteriaBuilder.java
- Replace eligible local variable declarations with
var in both files
- Run
./gradlew :grails-data-hibernate7-core:test to verify no regressions
References
Summary
Two classes in
grails-data-hibernate7were ported from H5 code and carry style issues that were intentionally deferred from PR #15568 to keep the review surface focused on the H7 integration work.Files
grails-data-hibernate7/core/src/main/groovy/grails/orm/HibernateCriteriaBuilder.javaorg.hibernate.Session,grails.gorm.DetachedCriteria) instead of importsvargrails-data-hibernate7/core/src/main/groovy/org/grails/orm/hibernate/cfg/domainbinding/binder/CollectionBinder.javavar(e.g. line 95)Work
HibernateCriteriaBuilder.javavarin both files./gradlew :grails-data-hibernate7-core:testto verify no regressionsReferences