diff --git a/reactor-netty-core/src/main/java/reactor/netty/resources/ConnectionProvider.java b/reactor-netty-core/src/main/java/reactor/netty/resources/ConnectionProvider.java index 456503afa1..6a3dd1f6ed 100644 --- a/reactor-netty-core/src/main/java/reactor/netty/resources/ConnectionProvider.java +++ b/reactor-netty-core/src/main/java/reactor/netty/resources/ConnectionProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2023 VMware, Inc. or its affiliates, All Rights Reserved. + * Copyright (c) 2018-2025 VMware, Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -232,7 +232,7 @@ default void dispose() { * {@link ConnectionProvider} implementations may decide to provide more specific implementation. * * @return a Mono representing the completion of the ConnectionProvider disposal. - **/ + */ default Mono disposeLater() { //noop default return Mono.empty(); diff --git a/reactor-netty-core/src/main/java/reactor/netty/resources/LoopResources.java b/reactor-netty-core/src/main/java/reactor/netty/resources/LoopResources.java index 628918185c..632959a446 100644 --- a/reactor-netty-core/src/main/java/reactor/netty/resources/LoopResources.java +++ b/reactor-netty-core/src/main/java/reactor/netty/resources/LoopResources.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2023 VMware, Inc. or its affiliates, All Rights Reserved. + * Copyright (c) 2011-2025 VMware, Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -203,7 +203,7 @@ default void dispose() { * The quiet period will be {@code 2s} and the timeout will be {@code 15s} * * @return a Mono representing the completion of the LoopResources disposal. - **/ + */ default Mono disposeLater() { return disposeLater(Duration.ofSeconds(DEFAULT_SHUTDOWN_QUIET_PERIOD), Duration.ofSeconds(DEFAULT_SHUTDOWN_TIMEOUT)); @@ -220,7 +220,7 @@ default Mono disposeLater() { * LoopResources regardless if a task was submitted during the quiet period * @return a Mono representing the completion of the LoopResources disposal. * @since 0.9.3 - **/ + */ default Mono disposeLater(Duration quietPeriod, Duration timeout) { //noop default return Mono.empty(); diff --git a/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopClient.java b/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopClient.java index 0778363b63..9f3c9c65bd 100644 --- a/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopClient.java +++ b/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopClient.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 VMware, Inc. or its affiliates, All Rights Reserved. + * Copyright (c) 2023-2025 VMware, Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ * * @author Kun.Long * @see HttpSnoopServer - **/ + */ public class HttpSnoopClient { static final boolean SECURE = System.getProperty("secure") != null; diff --git a/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopServer.java b/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopServer.java index 9b7becc242..c98ebe1c17 100644 --- a/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopServer.java +++ b/reactor-netty-examples/src/main/java/reactor/netty/examples/http/snoop/HttpSnoopServer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2023 VMware, Inc. or its affiliates, All Rights Reserved. + * Copyright (c) 2023-2025 VMware, Inc. or its affiliates, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ * An HTTP server that receives any request and tells the client the details of the request in a formatted string. * * @author Kun.Long - **/ + */ public class HttpSnoopServer { static final boolean SECURE = System.getProperty("secure") != null;