Merge branch '6.1.x'
This commit is contained in:
commit
6f95af978e
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2024 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.
|
||||
|
@ -100,7 +100,6 @@ public class AnnotatedBeanDefinitionReader {
|
|||
* Set the {@code Environment} to use when evaluating whether
|
||||
* {@link Conditional @Conditional}-annotated component classes should be registered.
|
||||
* <p>The default is a {@link StandardEnvironment}.
|
||||
* @see #registerBean(Class, String, Class...)
|
||||
*/
|
||||
public void setEnvironment(Environment environment) {
|
||||
this.conditionEvaluator = new ConditionEvaluator(this.registry, environment, null);
|
||||
|
|
Loading…
Reference in New Issue