Browse Source

Merge branch '6.1.x'

pull/33404/head
Sam Brannen 1 year ago
parent
commit
04271c3ead
  1. 4
      spring-beans/src/main/java/org/springframework/beans/factory/support/MethodDescriptor.java
  2. 2
      spring-beans/src/main/java/org/springframework/beans/factory/support/RegisteredBean.java
  3. 4
      spring-web/src/main/java/org/springframework/http/ETag.java
  4. 2
      src/checkstyle/checkstyle.xml

4
spring-beans/src/main/java/org/springframework/beans/factory/support/MethodDescriptor.java

@ -25,11 +25,11 @@ import org.springframework.util.ClassUtils; @@ -25,11 +25,11 @@ import org.springframework.util.ClassUtils;
* reference to the method's {@linkplain #declaringClass declaring class},
* {@linkplain #methodName name}, and {@linkplain #parameterTypes parameter types}.
*
* @author Sam Brannen
* @since 6.0.11
* @param declaringClass the method's declaring class
* @param methodName the name of the method
* @param parameterTypes the types of parameters accepted by the method
* @author Sam Brannen
* @since 6.0.11
*/
record MethodDescriptor(Class<?> declaringClass, String methodName, Class<?>... parameterTypes) {

2
spring-beans/src/main/java/org/springframework/beans/factory/support/RegisteredBean.java

@ -267,10 +267,10 @@ public final class RegisteredBean { @@ -267,10 +267,10 @@ public final class RegisteredBean {
* is usually the declaring class of the {@code executable} (in case of a constructor
* or a locally declared factory method), there are cases where retaining the actual
* concrete class is necessary (e.g. for an inherited factory method).
* @since 6.1.7
* @param executable the {@link Executable} ({@link java.lang.reflect.Constructor}
* or {@link java.lang.reflect.Method}) to invoke
* @param targetClass the target {@link Class} of the executable
* @since 6.1.7
*/
public record InstantiationDescriptor(Executable executable, Class<?> targetClass) {

4
spring-web/src/main/java/org/springframework/http/ETag.java

@ -27,10 +27,10 @@ import org.springframework.util.StringUtils; @@ -27,10 +27,10 @@ import org.springframework.util.StringUtils;
/**
* Represents an ETag for HTTP conditional requests.
*
* @param tag the unquoted tag value
* @param weak whether the entity tag is for weak or strong validation
* @author Rossen Stoyanchev
* @since 5.3.38
* @param tag the unquoted tag value
* @param weak whether the entity tag is for weak or strong validation
* @see <a href="https://datatracker.ietf.org/doc/html/rfc7232">RFC 7232</a>
*/
public record ETag(String tag, boolean weak) {

2
src/checkstyle/checkstyle.xml

@ -179,7 +179,7 @@ @@ -179,7 +179,7 @@
<property name="offset" value="0"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck">
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF"/>
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, RECORD_DEF"/>
<property name="tagOrder" value="@author, @since, @param, @see, @version, @serial, @deprecated"/>
</module>
<module name="com.puppycrawl.tools.checkstyle.checks.javadoc.AtclauseOrderCheck">

Loading…
Cancel
Save