From 408e4647df644dbd45973bc30aec8f7bc0473dee Mon Sep 17 00:00:00 2001 From: jansupol Date: Fri, 24 May 2024 11:37:29 +0200 Subject: [PATCH] Better document virtual threads Signed-off-by: jansupol --- .../main/java/org/glassfish/jersey/CommonProperties.java | 6 +++--- docs/src/main/docbook/appendix-properties.xml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core-common/src/main/java/org/glassfish/jersey/CommonProperties.java b/core-common/src/main/java/org/glassfish/jersey/CommonProperties.java index d7f59859e6..ced63b3aca 100644 --- a/core-common/src/main/java/org/glassfish/jersey/CommonProperties.java +++ b/core-common/src/main/java/org/glassfish/jersey/CommonProperties.java @@ -328,7 +328,7 @@ public final class CommonProperties { * The default is {@link java.util.concurrent.Executors#defaultThreadFactory()} on platform threads and * {@code Thread.ofVirtual().factory()} on virtual threads. *

- * @since 2.44 + * @since 3.1.7 */ public static String THREAD_FACTORY = "jersey.config.threads.factory"; @@ -338,9 +338,9 @@ public final class CommonProperties { * of threads by {@code FixedThreadPool}. *

*

- * The default is {@code false} for this version of Jersey, and {@code true} for Jersey 3.1+. + * The default is {@code false} for this version of Jersey. *

- * @since 2.44 + * @since 3.1.7 */ public static String USE_VIRTUAL_THREADS = "jersey.config.threads.use.virtual"; diff --git a/docs/src/main/docbook/appendix-properties.xml b/docs/src/main/docbook/appendix-properties.xml index 45595294a7..02cf239e2c 100644 --- a/docs/src/main/docbook/appendix-properties.xml +++ b/docs/src/main/docbook/appendix-properties.xml @@ -203,7 +203,7 @@ - &jersey.common.CommonProperties.THREAD_FACTORY;(Jersey 2.44 or later) + &jersey.common.CommonProperties.THREAD_FACTORY;(Jersey 3.1.7 or later) jersey.config.threads.factory @@ -220,7 +220,7 @@ - &jersey.common.CommonProperties.USE_VIRTUAL_THREADS;(Jersey 2.44 or later) + &jersey.common.CommonProperties.USE_VIRTUAL_THREADS;(Jersey 3.1.7 or later) jersey.config.threads.use.virtual @@ -231,7 +231,7 @@ of threads by FixedThreadPool. - The default is &lit.false; for this version of Jersey, and &lit.true; for Jersey 3.1+. + The default is &lit.false; for this version of Jersey.