From 2723bd092c5085750dca18aa74cfa8782888b972 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Tue, 14 Feb 2017 17:23:43 +0800 Subject: [PATCH] Fix typo See gh-1327 --- .../beans/factory/config/MethodInvokingFactoryBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/config/MethodInvokingFactoryBean.java b/spring-beans/src/main/java/org/springframework/beans/factory/config/MethodInvokingFactoryBean.java index fe3f25b47b..c6d2c1ad06 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/config/MethodInvokingFactoryBean.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/config/MethodInvokingFactoryBean.java @@ -69,7 +69,7 @@ import org.springframework.beans.factory.FactoryBeanNotInitializedException; * </bean> * * <bean id="javaVersion" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"> - * <property name="targetObject" value="sysProps"/> + * <property name="targetObject" ref="sysProps"/> * <property name="targetMethod" value="getProperty"/> * <property name="arguments" value="java.version"/> * </bean>