borinquenkid commented on code in PR #15530:
URL: https://github.com/apache/grails-core/pull/15530#discussion_r3012141083


##########
grails-data-hibernate5/core/src/main/groovy/org/grails/orm/hibernate/cfg/HibernateMappingContext.java:
##########
@@ -66,16 +66,14 @@ public class HibernateMappingContext extends 
AbstractMappingContext {
      * @param contextObject The context object (for example a Spring 
ApplicationContext)
      * @param persistentClasses The persistent classes
      */
-    public HibernateMappingContext(HibernateConnectionSourceSettings settings, 
Object contextObject, Class... persistentClasses) {
+    public HibernateMappingContext(HibernateConnectionSourceSettings settings, 
Object contextObject, Class<?>... persistentClasses) {
         this.mappingFactory = new HibernateMappingFactory();
 
         // The mapping factory needs to be configured before initialize can be 
safely called
         initialize(settings);
 
-        if (settings != null) {

Review Comment:
   Sometimes the AI got into the H5 code.  This needs to be reverted



-- 
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]

Reply via email to