diff --git a/spring-context/src/test/resources/org/springframework/scripting/groovy/ScriptBean.groovy b/spring-context/src/test/resources/org/springframework/scripting/groovy/ScriptBean.groovy index a6b437ef68..f83f9a5fe4 100644 --- a/spring-context/src/test/resources/org/springframework/scripting/groovy/ScriptBean.groovy +++ b/spring-context/src/test/resources/org/springframework/scripting/groovy/ScriptBean.groovy @@ -1,3 +1,5 @@ +package org.springframework.scripting.groovy; + import org.springframework.context.ApplicationContext import org.springframework.context.ApplicationContextAware import org.springframework.scripting.ContextScriptBean @@ -10,7 +12,7 @@ class GroovyScriptBean implements ContextScriptBean, ApplicationContextAware { int getAge() { return this.age } - + void setAge(int age) { this.age = age } diff --git a/spring-context/src/test/resources/org/springframework/scripting/groovy/TestFactoryBean.groovy b/spring-context/src/test/resources/org/springframework/scripting/groovy/TestFactoryBean.groovy index e86c13a6ef..9e8da5df67 100644 --- a/spring-context/src/test/resources/org/springframework/scripting/groovy/TestFactoryBean.groovy +++ b/spring-context/src/test/resources/org/springframework/scripting/groovy/TestFactoryBean.groovy @@ -1,3 +1,5 @@ +package org.springframework.scripting.groovy; + import org.springframework.beans.factory.FactoryBean class TestFactoryBean implements FactoryBean { @@ -13,5 +15,4 @@ class TestFactoryBean implements FactoryBean { public Object getObject() { "test" } - } diff --git a/spring-context/src/test/resources/org/springframework/scripting/groovy/simple.groovy b/spring-context/src/test/resources/org/springframework/scripting/groovy/simple.groovy index 1bb7d85d79..b999147fe6 100644 --- a/spring-context/src/test/resources/org/springframework/scripting/groovy/simple.groovy +++ b/spring-context/src/test/resources/org/springframework/scripting/groovy/simple.groovy @@ -1 +1,3 @@ +package org.springframework.scripting.groovy; + return 3 * 2