From ffff596ae6b1add6e563d7ecdee9345b59b7646b Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Tue, 17 Mar 2015 18:19:17 +0100 Subject: [PATCH] Polish GroovyBeanDefinitionReader ctr Javadoc --- .../factory/groovy/GroovyBeanDefinitionReader.java | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java b/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java index add243bace..c5bb508e90 100644 --- a/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java +++ b/spring-beans-groovy/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java @@ -156,7 +156,8 @@ public class GroovyBeanDefinitionReader extends AbstractBeanDefinitionReader imp /** - * Create a new {@code GroovyBeanDefinitionReader} for the given {@link BeanDefinitionRegistry}. + * Create a new {@code GroovyBeanDefinitionReader} for the given + * {@link BeanDefinitionRegistry}. * @param registry the {@code BeanDefinitionRegistry} to load bean definitions into */ public GroovyBeanDefinitionReader(BeanDefinitionRegistry registry) { @@ -167,10 +168,13 @@ public class GroovyBeanDefinitionReader extends AbstractBeanDefinitionReader imp } /** - * Create a new {@code GroovyBeanDefinitionReader} based on the given {@link XmlBeanDefinitionReader}, - * using its {@code BeanDefinitionRegistry} and delegating Groovy DSL loading to it. - * @param xmlBeanDefinitionReader the {@code XmlBeanDefinitionReader} to derive the registry - * from and to delegate XML loading to + * Create a new {@code GroovyBeanDefinitionReader} based on the given + * {@link XmlBeanDefinitionReader}, loading bean definitions into its + * {@code BeanDefinitionRegistry} and delegating Groovy DSL loading to it. + *

The supplied {@code XmlBeanDefinitionReader} should typically + * be pre-configured with XML validation disabled. + * @param xmlBeanDefinitionReader the {@code XmlBeanDefinitionReader} to + * derive the registry from and to delegate Groovy DSL loading to */ public GroovyBeanDefinitionReader(XmlBeanDefinitionReader xmlBeanDefinitionReader) { super(xmlBeanDefinitionReader.getRegistry());