From 6d6da91ab963895dac16513d30bc60ca62543037 Mon Sep 17 00:00:00 2001 From: "Dimitrios (Dimi) Liapis" Date: Sat, 21 Apr 2018 13:49:10 +0100 Subject: [PATCH] Fix typo See gh-1803 --- .../annotation/RequiredAnnotationBeanPostProcessor.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java index 4b1937b0d5..273f77410c 100644 --- a/spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java +++ b/spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 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. @@ -56,8 +56,8 @@ import org.springframework.util.Assert; * and obviates the need (in part) for a developer to code a method that * simply checks that all required properties have actually been set. * - *

Please note that an 'init' method may still need to implemented (and may - * still be desirable), because all that this class does is enforce that a + *

Please note that an 'init' method may still need to be implemented (and may + * still be desirable), because all that this class does is enforcing that a * 'required' property has actually been configured with a value. It does * not check anything else... In particular, it does not check that a * configured value is not {@code null}.