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