Stop referring to old Spring versions in Javadoc

This commit is contained in:
Sam Brannen
2024-07-01 17:50:52 +02:00
parent e427ac2683
commit 932ce04541
26 changed files with 100 additions and 107 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 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.
@@ -25,8 +25,8 @@ import org.springframework.lang.Nullable;
* <p>Note that some ClassLoaders do not expose the package metadata,
* hence this class might not be able to determine the Spring version
* in all environments. Consider using a reflection-based check instead &mdash;
* for example, checking for the presence of a specific Spring 5.2
* method that you intend to call.
* for example, checking for the presence of a specific Spring method that you
* intend to call.
*
* @author Juergen Hoeller
* @since 1.1

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.
@@ -62,10 +62,9 @@ public interface Profiles {
* without using parentheses. For example, {@code "a & b | c"} is not a valid
* expression: it must be expressed as {@code "(a & b) | c"} or
* {@code "a & (b | c)"}.
* <p>As of Spring Framework 5.1.17, two {@code Profiles} instances returned
* by this method are considered equivalent to each other (in terms of
* {@code equals()} and {@code hashCode()} semantics) if they are created
* with identical <em>profile expressions</em>.
* <p>Two {@code Profiles} instances returned by this method are considered
* equivalent to each other (in terms of {@code equals()} and {@code hashCode()}
* semantics) if they are created with identical <em>profile expressions</em>.
* @param profileExpressions the <em>profile expressions</em> to include
* @return a new {@link Profiles} instance
*/

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.
@@ -45,10 +45,10 @@ import org.springframework.util.StringUtils;
* Supports resolution as a {@code File} and also as a {@code URL}.
* Implements the extended {@link WritableResource} interface.
*
* <p>Note: As of Spring Framework 5.0, this {@link Resource} implementation uses
* NIO.2 API for read/write interactions. As of 5.1, it may be constructed with a
* {@link java.nio.file.Path} handle in which case it will perform all file system
* interactions via NIO.2, only resorting to {@link File} on {@link #getFile()}.
* <p>Note: This {@link Resource} implementation uses NIO.2 API for read/write
* interactions and may be constructed with a {@link java.nio.file.Path} handle
* in which case it will perform all file system interactions via NIO.2, only
* resorting to {@link File} on {@link #getFile()}.
*
* @author Juergen Hoeller
* @author Sam Brannen

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.
@@ -37,10 +37,10 @@ import org.springframework.lang.Nullable;
* <p>This class is normally used to verify performance during proof-of-concept
* work and in development, rather than as part of production applications.
*
* <p>As of Spring Framework 5.2, running time is tracked and reported in
* nanoseconds. As of 6.1, the default time unit for String renderings is
* seconds with decimal points in nanosecond precision. Custom renderings with
* specific time units can be requested through {@link #prettyPrint(TimeUnit)}.
* <p>Running time is tracked and reported in nanoseconds. As of Spring Framework
* 6.1, the default time unit for String renderings is seconds with decimal points
* in nanosecond precision. Custom renderings with specific time units can be
* requested through {@link #prettyPrint(TimeUnit)}.
*
* @author Rod Johnson
* @author Juergen Hoeller