From 78b9eca6704e5c6f234551f66bd56dee24793ce4 Mon Sep 17 00:00:00 2001 From: Michael Yan Date: Wed, 19 Mar 2025 19:25:18 +0800 Subject: [PATCH 1/2] Polish javadoc of SpringProfileAction See gh-44787 Signed-off-by: Michael Yan --- .../boot/logging/logback/SpringProfileAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java index 84940f95a70..407f22094d4 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -22,7 +22,7 @@ import ch.qos.logback.core.model.Model; import org.xml.sax.Attributes; /** - * Logback {@link BaseModelAction} for {@code } tags. Allows a section of + * Logback {@link BaseModelAction} for {@code } tags. Allows a section of * a Logback configuration to only be enabled when a specific profile is active. * * @author Phillip Webb From 28f8e3812b94c9867ca6af7ff1cd203dde99bb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 21 Mar 2025 08:01:06 +0100 Subject: [PATCH 2/2] Fix code format See gh-44787 --- .../boot/logging/logback/SpringProfileAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java index 407f22094d4..6470fe7cb3e 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/logging/logback/SpringProfileAction.java @@ -22,8 +22,8 @@ import ch.qos.logback.core.model.Model; import org.xml.sax.Attributes; /** - * Logback {@link BaseModelAction} for {@code } tags. Allows a section of - * a Logback configuration to only be enabled when a specific profile is active. + * Logback {@link BaseModelAction} for {@code } tags. Allows a section of a + * Logback configuration to only be enabled when a specific profile is active. * * @author Phillip Webb * @author EddĂș MelĂ©ndez