From 1de7edb6152ab1fcd2652fab3392f9df321f41c4 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 16 Jun 2023 15:21:03 -0700 Subject: [PATCH] Remove accidentally committed code --- .../boot/actuate/logging/LoggersEndpoint.java | 26 ------------------- 1 file changed, 26 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LoggersEndpoint.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LoggersEndpoint.java index 92d36f999a..b46eb95a8d 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LoggersEndpoint.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/logging/LoggersEndpoint.java @@ -137,13 +137,6 @@ public class LoggersEndpoint { private final Map groups; - /** - * Create a new {@link LoggersDescriptor} instance. - * @param levels the levels - * @param loggers the loggers - * @param groups the groups - */ - @Deprecated(since = "3.2.0", forRemoval = true) public LoggersDescriptor(NavigableSet levels, Map loggers, Map groups) { this.levels = levels; @@ -172,11 +165,6 @@ public class LoggersEndpoint { private final String configuredLevel; - /** - * Create a new {@link LoggerLevelsDescriptor} instance. - * @param configuredLevel the configured level - */ - @Deprecated(since = "3.2.0", forRemoval = true) public LoggerLevelsDescriptor(LogLevel configuredLevel) { this.configuredLevel = (configuredLevel != null) ? configuredLevel.name() : null; } @@ -185,11 +173,6 @@ public class LoggersEndpoint { this.configuredLevel = (directConfiguration != null) ? directConfiguration.getName() : null; } - /** - * @param level - * @return - */ - @Deprecated(since = "3.2.0", forRemoval = true) protected final String getName(LogLevel level) { return (level != null) ? level.name() : null; } @@ -207,11 +190,6 @@ public class LoggersEndpoint { private final List members; - /** - * @param configuredLevel - * @param members - */ - @Deprecated(since = "3.2.0", forRemoval = true) public GroupLoggerLevelsDescriptor(LogLevel configuredLevel, List members) { super(configuredLevel); this.members = members; @@ -230,10 +208,6 @@ public class LoggersEndpoint { private final String effectiveLevel; - /** - * @param configuration - */ - @Deprecated(since = "3.2.0", forRemoval = true) public SingleLoggerLevelsDescriptor(LoggerConfiguration configuration) { super(configuration.getLevelConfiguration(ConfigurationScope.DIRECT)); this.effectiveLevel = configuration.getLevelConfiguration().getName();