mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Stop referring to "Java 8" features in documentation
Closes gh-36310
This commit is contained in:
+3
-3
@@ -26,9 +26,9 @@ import java.lang.annotation.Target;
|
||||
* Container annotation that aggregates several {@link ComponentScan} annotations.
|
||||
*
|
||||
* <p>Can be used natively, declaring several nested {@link ComponentScan} annotations.
|
||||
* Can also be used in conjunction with Java 8's support for repeatable annotations,
|
||||
* where {@link ComponentScan} can simply be declared several times on the same method,
|
||||
* implicitly generating this container annotation.
|
||||
* Can also be used in conjunction with Java's support for repeatable annotations,
|
||||
* where {@link ComponentScan @ComponentScan} can simply be declared several times
|
||||
* on the same method, implicitly generating this container annotation.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 4.3
|
||||
|
||||
+1
-1
@@ -443,7 +443,7 @@ class ConfigurationClassParser {
|
||||
Set<MethodMetadata> beanMethods = retrieveBeanMethodMetadata(ifc);
|
||||
for (MethodMetadata methodMetadata : beanMethods) {
|
||||
if (!methodMetadata.isAbstract()) {
|
||||
// A default method or other concrete method on a Java 8+ interface...
|
||||
// A default method or other concrete method on a Java interface...
|
||||
configClass.addBeanMethod(new BeanMethod(methodMetadata, configClass));
|
||||
}
|
||||
}
|
||||
|
||||
+4
-3
@@ -26,9 +26,10 @@ import java.lang.annotation.Target;
|
||||
* Container annotation that aggregates several {@link PropertySource} annotations.
|
||||
*
|
||||
* <p>Can be used natively, declaring several nested {@link PropertySource} annotations.
|
||||
* Can also be used in conjunction with Java 8's support for <em>repeatable annotations</em>,
|
||||
* where {@link PropertySource} can simply be declared several times on the same
|
||||
* {@linkplain ElementType#TYPE type}, implicitly generating this container annotation.
|
||||
* Can also be used in conjunction with Java's support for <em>repeatable annotations</em>,
|
||||
* where {@link PropertySource @PropertySource} can simply be declared several
|
||||
* times on the same {@linkplain ElementType#TYPE type}, implicitly generating
|
||||
* this container annotation.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @since 4.0
|
||||
|
||||
+3
-3
@@ -28,9 +28,9 @@ import org.springframework.aot.hint.annotation.Reflective;
|
||||
* Container annotation that aggregates several {@link Scheduled} annotations.
|
||||
*
|
||||
* <p>Can be used natively, declaring several nested {@link Scheduled} annotations.
|
||||
* Can also be used in conjunction with Java 8's support for repeatable annotations,
|
||||
* where {@link Scheduled} can simply be declared several times on the same method,
|
||||
* implicitly generating this container annotation.
|
||||
* Can also be used in conjunction with Java's support for repeatable annotations,
|
||||
* where {@link Scheduled @Scheduled} can simply be declared several times on the
|
||||
* same method, implicitly generating this container annotation.
|
||||
*
|
||||
* <p>This annotation may be used as a <em>meta-annotation</em> to create custom
|
||||
* <em>composed annotations</em>.
|
||||
|
||||
Reference in New Issue
Block a user