diff --git a/grails-core/src/main/groovy/org/grails/plugins/DefaultGrailsPlugin.java b/grails-core/src/main/groovy/org/grails/plugins/DefaultGrailsPlugin.java index 8fd135d131..214e3e3f47 100644 --- a/grails-core/src/main/groovy/org/grails/plugins/DefaultGrailsPlugin.java +++ b/grails-core/src/main/groovy/org/grails/plugins/DefaultGrailsPlugin.java @@ -543,8 +543,7 @@ public void doWithRuntimeConfiguration(RuntimeSpringConfiguration springConfig) c.setDelegate(bb); bb.invokeMethod("beans", new Object[]{c}); } - } - else { + } else { if (!pluginBean.isReadableProperty(DO_WITH_SPRING)) { return; }