Skip to content

Commit e25f216

Browse files
committed
Merge branch '2.5.x'
Closes gh-28425
2 parents d52b649 + daf36df commit e25f216

File tree

24 files changed

+35
-35
lines changed

24 files changed

+35
-35
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/MetricsProperties.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public class MetricsProperties {
4949

5050
/**
5151
* Whether meter IDs starting with the specified name should be enabled. The longest
52-
* match wins, the key `all` can also be used to configure all meters.
52+
* match wins, the key {@code "all"} can also be used to configure all meters.
5353
*/
5454
private final Map<String, Boolean> enable = new LinkedHashMap<>();
5555

@@ -301,15 +301,15 @@ public static class Distribution {
301301
* Whether meter IDs starting with the specified name should publish percentile
302302
* histograms. For monitoring systems that support aggregable percentile
303303
* calculation based on a histogram, this can be set to true. For other systems,
304-
* this has no effect. The longest match wins, the key `all` can also be used to
305-
* configure all meters.
304+
* this has no effect. The longest match wins, the key {@code "all"} can also be
305+
* used to configure all meters.
306306
*/
307307
private final Map<String, Boolean> percentilesHistogram = new LinkedHashMap<>();
308308

309309
/**
310310
* Specific computed non-aggregable percentiles to ship to the backend for meter
311-
* IDs starting-with the specified name. The longest match wins, the key `all` can
312-
* also be used to configure all meters.
311+
* IDs starting-with the specified name. The longest match wins, the key
312+
* {@code "all"} can also be used to configure all meters.
313313
*/
314314
private final Map<String, double[]> percentiles = new LinkedHashMap<>();
315315

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/web/server/ManagementServerProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ public class ManagementServerProperties {
4949
private InetAddress address;
5050

5151
/**
52-
* Management endpoint base path (for instance, `/management`). Requires a custom
53-
* management.server.port.
52+
* Management endpoint base path (for instance, {@code '/management'}). Requires a
53+
* custom management.server.port.
5454
*/
5555
private String basePath = "";
5656

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/AbstractEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public abstract class AbstractEndpointDocumentationTests {
6161

6262
protected static String describeEnumValues(Class<? extends Enum<?>> enumType) {
6363
return StringUtils.collectionToDelimitedString(Stream.of(enumType.getEnumConstants())
64-
.map((constant) -> "`" + constant.name() + "`").collect(Collectors.toList()), ", ");
64+
.map((constant) -> "'" + constant.name() + "'").collect(Collectors.toList()), ", ");
6565
}
6666

6767
protected OperationPreprocessor limit(String... keys) {

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/ConfigurationPropertiesReportEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void configPropsFilterByPrefix() throws Exception {
6464
preprocessResponse(limit("contexts", getApplicationContext().getId(), "beans")),
6565
responseFields(fieldWithPath("contexts").description("Application contexts keyed by id."),
6666
fieldWithPath("contexts.*.beans.*")
67-
.description("`@ConfigurationProperties` beans keyed by bean name."),
67+
.description("@ConfigurationProperties beans keyed by bean name."),
6868
fieldWithPath("contexts.*.beans.*.prefix")
6969
.description("Prefix applied to the names of the bean's properties."),
7070
subsectionWithPath("contexts.*.beans.*.properties")

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/HealthEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void health() throws Exception {
8282
.description("The nested components that make up the health.").optional();
8383
FieldDescriptor componentDetails = subsectionWithPath("components.*.details")
8484
.description("Details of the health of a specific part of the application. "
85-
+ "Presence is controlled by `management.endpoint.health.show-details`.")
85+
+ "Presence is controlled by 'management.endpoint.health.show-details'.")
8686
.optional();
8787
this.mockMvc.perform(get("/actuator/health").accept(MediaType.APPLICATION_JSON)).andExpect(status().isOk())
8888
.andDo(document("health",

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/MetricsEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void metricWithTags() throws Exception {
7070
"id:Compressed Class Space"))
7171
.andExpect(status().isOk())
7272
.andDo(document("metrics/metric-with-tags", requestParameters(parameterWithName("tag")
73-
.description("A tag to use for drill-down in the form `name:value`."))));
73+
.description("A tag to use for drill-down in the form 'name:value'."))));
7474
}
7575

7676
@Configuration(proxyBeanMethods = false)

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/endpoint/web/documentation/ThreadDumpEndpointDocumentationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void jsonThreadDump() throws Exception {
117117
.optional().type(JsonFieldType.NUMBER),
118118
fieldWithPath("threads.[].lockOwnerId")
119119
.description("ID of the thread that owns the object on which "
120-
+ "the thread is blocked. `-1` if the "
120+
+ "the thread is blocked. '-1' if the "
121121
+ "thread is not blocked."),
122122
fieldWithPath("threads.[].lockOwnerName")
123123
.description("Name of the thread that owns the "

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,12 +922,12 @@ public static class Template {
922922
private Boolean mandatory;
923923

924924
/**
925-
* Timeout for `receive()` operations.
925+
* Timeout for {@code receive()} operations.
926926
*/
927927
private Duration receiveTimeout;
928928

929929
/**
930-
* Timeout for `sendAndReceive()` operations.
930+
* Timeout for {@code sendAndReceive()} operations.
931931
*/
932932
private Duration replyTimeout;
933933

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/batch/BatchProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static class Job {
9898

9999
/**
100100
* Comma-separated list of job names to execute on startup (for instance,
101-
* `job1,job2`). By default, all Jobs found in the context are executed.
101+
* {@code "job1,job2"}). By default, all Jobs found in the context are executed.
102102
*/
103103
private String names = "";
104104

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/RedisUrlSyntaxFailureAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ protected FailureAnalysis analyze(Throwable rootFailure, RedisUrlSyntaxException
4646
}
4747
if (!"redis".equals(uri.getScheme()) && !"rediss".equals(uri.getScheme())) {
4848
return new FailureAnalysis(getUnsupportedSchemeDescription(cause.getUrl(), uri.getScheme()),
49-
"Use the scheme 'redis://` for insecure or `rediss://` for secure Redis standalone configuration.",
49+
"Use the scheme 'redis://' for insecure or 'rediss://' for secure Redis standalone configuration.",
5050
cause);
5151
}
5252
}

0 commit comments

Comments
 (0)