From b1b3bdc9b1ad1be9b54305792dbf7acfdcba9e2d Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 27 Aug 2021 22:34:37 -0700 Subject: [PATCH] Polish --- .../boot/actuate/quartz/QuartzEndpoint.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/quartz/QuartzEndpoint.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/quartz/QuartzEndpoint.java index 8e22ba4c51..01e677a5e1 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/quartz/QuartzEndpoint.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/quartz/QuartzEndpoint.java @@ -71,6 +71,15 @@ public class QuartzEndpoint { private final Sanitizer sanitizer; + /** + * Create an instance for the specified {@link Scheduler} using a default + * {@link Sanitizer}. + * @param scheduler the scheduler to use to retrieve jobs and triggers details + */ + public QuartzEndpoint(Scheduler scheduler) { + this(scheduler, new Sanitizer()); + } + /** * Create an instance for the specified {@link Scheduler} and {@link Sanitizer}. * @param scheduler the scheduler to use to retrieve jobs and triggers details @@ -83,15 +92,6 @@ public class QuartzEndpoint { this.sanitizer = sanitizer; } - /** - * Create an instance for the specified {@link Scheduler} using a default - * {@link Sanitizer}. - * @param scheduler the scheduler to use to retrieve jobs and triggers details - */ - public QuartzEndpoint(Scheduler scheduler) { - this(scheduler, new Sanitizer()); - } - /** * Return the available job and trigger group names. * @return a report of the available group names