From 433f6127935a724b341b7a575b824d426eb30e37 Mon Sep 17 00:00:00 2001 From: Ravi Kumar Date: Fri, 18 Dec 2020 08:31:04 +0530 Subject: [PATCH] Made changes as per the review comments Signed-off-by: Ravi Kumar --- .../jetty/util/thread/ScheduledExecutorScheduler.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.java b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.java index 3407310773f..931936239cb 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/thread/ScheduledExecutorScheduler.java @@ -39,7 +39,7 @@ import org.eclipse.jetty.util.component.Dumpable; * queue even if the task did not fire, which provides a huge benefit in the performance * of garbage collection in young generation. */ -@ManagedObject("A scheduler") +@ManagedObject public class ScheduledExecutorScheduler extends AbstractLifeCycle implements Scheduler, Dumpable { private final String name; @@ -158,19 +158,19 @@ public class ScheduledExecutorScheduler extends AbstractLifeCycle implements Sch } } - @ManagedAttribute("name of scheduler") + @ManagedAttribute("The name of the scheduler") public String getName() { return name; } - @ManagedAttribute("is scheduler daemon") + @ManagedAttribute("Whether the scheduler uses daemon threads") public boolean isDaemon() { return daemon; } - @ManagedAttribute("number of scheduler threads") + @ManagedAttribute("The number of scheduler threads") public int getThreads() { return threads;