Skip to content

Commit b570f60

Browse files
committed
Merge branch '5.3.x'
# Conflicts: # spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java # spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationClassFilter.java # spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMatchingPointcut.java # spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMethodMatcher.java # spring-beans/src/main/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessor.java # spring-context/src/main/java/org/springframework/context/annotation/CommonAnnotationBeanPostProcessor.java # spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedNotification.java # spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedOperationParameter.java # spring-core/src/main/java/org/springframework/javapoet/support/package-info.java # spring-core/src/main/java/org/springframework/util/TypeUtils.java # spring-web/src/main/java/org/springframework/http/HttpMethod.java
2 parents f6192fe + 64b64d9 commit b570f60

File tree

33 files changed

+614
-713
lines changed

33 files changed

+614
-713
lines changed

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectJProxyFactory.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,7 +34,7 @@
3434
/**
3535
* AspectJ-based proxy factory, allowing for programmatic building
3636
* of proxies which include AspectJ aspects (code style as well
37-
* Java 5 annotation style).
37+
* annotation style).
3838
*
3939
* @author Rob Harrop
4040
* @author Juergen Hoeller

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation/AspectMetadata.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ public class AspectMetadata implements Serializable {
6060
private final Class<?> aspectClass;
6161

6262
/**
63-
* AspectJ reflection information (AspectJ 5 / Java 5 specific).
64-
* Re-resolved on deserialization since it isn't serializable itself.
63+
* AspectJ reflection information.
64+
* <p>Re-resolved on deserialization since it isn't serializable itself.
6565
*/
6666
private transient AjType<?> ajType;
6767

spring-aop/src/main/java/org/springframework/aop/support/AopUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -183,8 +183,8 @@ public static boolean isFinalizeMethod(@Nullable Method method) {
183183
* may be {@code DefaultFoo}. In this case, the method may be
184184
* {@code DefaultFoo.bar()}. This enables attributes on that method to be found.
185185
* <p><b>NOTE:</b> In contrast to {@link org.springframework.util.ClassUtils#getMostSpecificMethod},
186-
* this method resolves Java 5 bridge methods in order to retrieve attributes
187-
* from the <i>original</i> method definition.
186+
* this method resolves bridge methods in order to retrieve attributes from
187+
* the <i>original</i> method definition.
188188
* @param method the method to be invoked, which may come from an interface
189189
* @param targetClass the target class for the current invocation.
190190
* May be {@code null} or may not even implement the method.

spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationClassFilter.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,8 +24,7 @@
2424
import org.springframework.util.Assert;
2525

2626
/**
27-
* Simple ClassFilter that looks for a specific Java 5 annotation
28-
* being present on a class.
27+
* Simple ClassFilter that looks for a specific annotation being present on a class.
2928
*
3029
* @author Juergen Hoeller
3130
* @since 2.0

spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMatchingPointcut.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -26,9 +26,8 @@
2626
import org.springframework.util.Assert;
2727

2828
/**
29-
* Simple Pointcut that looks for a specific Java 5 annotation
30-
* being present on a {@link #forClassAnnotation class} or
31-
* {@link #forMethodAnnotation method}.
29+
* Simple {@link Pointcut} that looks for a specific annotation being present on a
30+
* {@linkplain #forClassAnnotation class} or {@linkplain #forMethodAnnotation method}.
3231
*
3332
* @author Juergen Hoeller
3433
* @author Sam Brannen

spring-aop/src/main/java/org/springframework/aop/support/annotation/AnnotationMethodMatcher.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -27,9 +27,10 @@
2727
import org.springframework.util.Assert;
2828

2929
/**
30-
* Simple MethodMatcher that looks for a specific Java 5 annotation
31-
* being present on a method (checking both the method on the invoked
32-
* interface, if any, and the corresponding method on the target class).
30+
* Simple {@link org.springframework.aop.MethodMatcher MethodMatcher} that looks
31+
* for a specific annotation being present on a method (checking both the method
32+
* on the invoked interface, if any, and the corresponding method on the target
33+
* class).
3334
*
3435
* @author Juergen Hoeller
3536
* @author Sam Brannen

spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverAnnotationTests.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)