From 2723bd092c5085750dca18aa74cfa8782888b972 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Tue, 14 Feb 2017 17:23:43 +0800 Subject: [PATCH 1/2] 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> From d4dd8baed569f0ce1236aafffd578b0aa69a51f3 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 14 Feb 2017 10:39:54 +0100 Subject: [PATCH 2/2] Update copyright header Closes 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 c6d2c1ad06..1c3c3d9489 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 @@ -1,5 +1,5 @@ /* - * Copyright 2002-2014 the original author or authors. + * Copyright 2002-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.