File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
grails-core/src/main/groovy/org/grails/plugins Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -541,12 +541,9 @@ public void doWithRuntimeConfiguration(RuntimeSpringConfiguration springConfig)
541541 BeanBuilder bb = new BeanBuilder (getParentCtx (),springConfig , grailsApplication .getClassLoader ());
542542 bb .setBinding (b );
543543 c .setDelegate (bb );
544- c .setResolveStrategy (Closure .OWNER_FIRST );
545544 bb .invokeMethod ("beans" , new Object []{c });
546545 }
547- }
548- else {
549-
546+ } else {
550547 if (!pluginBean .isReadableProperty (DO_WITH_SPRING )) {
551548 return ;
552549 }
@@ -559,7 +556,6 @@ public void doWithRuntimeConfiguration(RuntimeSpringConfiguration springConfig)
559556 BeanBuilder bb = new BeanBuilder (getParentCtx (),springConfig , grailsApplication .getClassLoader ());
560557 bb .setBinding (b );
561558 c .setDelegate (bb );
562- c .setResolveStrategy (Closure .DELEGATE_FIRST );
563559 bb .invokeMethod ("beans" , new Object []{c });
564560 }
565561
You can’t perform that action at this time.
0 commit comments