From e3d271c6b6b0e5ca549e43304f8e87ff3746a691 Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Wed, 19 Apr 2023 20:38:34 +0200 Subject: [PATCH] javadoc edits in CoreConstants Signed-off-by: Ceki Gulcu --- .../src/main/java/ch/qos/logback/core/CoreConstants.java | 6 ------ .../src/test/java/ch/qos/logback/core/SchedulerTest.java | 2 -- 2 files changed, 8 deletions(-) delete mode 100644 logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java diff --git a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java index f4430e3446..3afee877c1 100644 --- a/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java +++ b/logback-core/src/main/java/ch/qos/logback/core/CoreConstants.java @@ -24,12 +24,6 @@ public class CoreConstants { */ public static final int CORE_POOL_SIZE = 0; - // Apparently ScheduledThreadPoolExecutor has limitation where a task cannot be - // submitted from within a running task unless the pool has worker threads already available. - // ThreadPoolExecutor does not have this limitation. - // This causes tests failures in SocketReceiverTest.testDispatchEventForEnabledLevel and - // ServerSocketReceiverFunctionalTest.testLogEventFromClient. - // We thus set a pool size > 0 for tests to pass. public static final int SCHEDULED_EXECUTOR_POOL_SIZE = 2; /** diff --git a/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java b/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java deleted file mode 100644 index c86211398a..0000000000 --- a/logback-core/src/test/java/ch/qos/logback/core/SchedulerTest.java +++ /dev/null @@ -1,2 +0,0 @@ -package ch.qos.logback.core;public class SchedulerTest { -}