Stop referring to old Spring versions in Javadoc
This commit is contained in:
@@ -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 —
|
||||
* 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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user