matrei commented on code in PR #1154:
URL: 
https://github.com/apache/grails-spring-security/pull/1154#discussion_r2287850134


##########
plugin-acl/plugin/grails-app/services/grails/plugin/springsecurity/acl/AclService.groovy:
##########
@@ -335,4 +326,19 @@ class AclService implements MutableAclService, WarnErros {
                }
                return result
        }
+
+    @Transactional
+       protected <T extends GormEntity<T>> T save(T bean) {
+               if (!bean.save()) {
+            if (log.warnEnabled) {

Review Comment:
   Remove redundant logging guard, as the `@Slf4j` annotation will add it for 
us?



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