Polishing

This commit is contained in:
Juergen Hoeller
2024-01-05 10:08:57 +01:00
parent fb4fbeab50
commit 07097976ef
14 changed files with 29 additions and 30 deletions

View File

@@ -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.
@@ -224,7 +224,6 @@ class ReflectiveRuntimeHintsRegistrarTests {
@interface SampleInvoker {
int retries() default 0;
}
@Target({ ElementType.METHOD })
@@ -235,10 +234,9 @@ class ReflectiveRuntimeHintsRegistrarTests {
@AliasFor(attribute = "retries", annotation = SampleInvoker.class)
int value() default 1;
}
@Target({ ElementType.TYPE })
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Reflective(TestTypeHintReflectiveProcessor.class)

View File

@@ -2273,8 +2273,8 @@ class MergedAnnotationsTests {
// @formatter:off
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Inherited
@interface Transactional {
@@ -2327,8 +2327,8 @@ class MergedAnnotationsTests {
static class AliasedTransactionalComponentClass {
}
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Inherited
@interface AliasedTransactional {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2009 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.
@@ -24,7 +24,7 @@ import java.lang.annotation.Target;
/**
* Copy of the {@code @Scope} annotation for testing purposes.
*/
@Target({ ElementType.TYPE, ElementType.METHOD })
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Scope {