From 93e5214d01c14d9fced2fae670b126ef39a01055 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sun, 16 Aug 2020 20:03:46 +0200 Subject: [PATCH] Revise Javadoc regarding log level for non-static BFPP @Bean method Closes gh-25590 --- .../java/org/springframework/context/annotation/Bean.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context/src/main/java/org/springframework/context/annotation/Bean.java b/spring-context/src/main/java/org/springframework/context/annotation/Bean.java index a6c3146cf9e1..a723b02c3508 100644 --- a/spring-context/src/main/java/org/springframework/context/annotation/Bean.java +++ b/spring-context/src/main/java/org/springframework/context/annotation/Bean.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2020 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. @@ -194,7 +194,7 @@ * declaring {@code @Configuration} class, thus avoiding the above-mentioned lifecycle conflicts. * Note however that {@code static} {@code @Bean} methods will not be enhanced for scoping and AOP * semantics as mentioned above. This works out in {@code BFPP} cases, as they are not typically - * referenced by other {@code @Bean} methods. As a reminder, a WARN-level log message will be + * referenced by other {@code @Bean} methods. As a reminder, an INFO-level log message will be * issued for any non-static {@code @Bean} methods having a return type assignable to * {@code BeanFactoryPostProcessor}. *