Skip to content

Commit

Permalink
Polish Javadoc for Condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jan 12, 2024
1 parent 65cb595 commit e4569de
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 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.
Expand All @@ -20,16 +20,16 @@
import org.springframework.core.type.AnnotatedTypeMetadata;

/**
* A single {@code condition} that must be {@linkplain #matches matched} in order
* for a component to be registered.
* A single condition that must be {@linkplain #matches matched} in order for a
* component to be registered.
*
* <p>Conditions are checked immediately before the bean-definition is due to be
* <p>Conditions are checked immediately before the bean definition is due to be
* registered and are free to veto registration based on any criteria that can
* be determined at that point.
*
* <p>Conditions must follow the same restrictions as {@link BeanFactoryPostProcessor}
* <p>Conditions must follow the same restrictions as a {@link BeanFactoryPostProcessor}
* and take care to never interact with bean instances. For more fine-grained control
* of conditions that interact with {@code @Configuration} beans consider implementing
* over conditions that interact with {@code @Configuration} beans, consider implementing
* the {@link ConfigurationCondition} interface.
*
* @author Phillip Webb
Expand Down

0 comments on commit e4569de

Please sign in to comment.