Skip to content

Commit 50d4eaa

Browse files
committed
Merge branch '2.4.x' into 2.5.x
Closes gh-28439
2 parents 3fb5af9 + 8622418 commit 50d4eaa

File tree

9 files changed

+18
-17
lines changed

9 files changed

+18
-17
lines changed

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/ControllerEndpoint.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,8 +35,8 @@
3535
/**
3636
* Identifies a type as being an endpoint that is only exposed over Spring MVC or Spring
3737
* WebFlux. Mapped methods must be annotated with {@link GetMapping @GetMapping},
38-
* {@link PostMapping @PostMapping}, {@link DeleteMapping @DeleteMapping}, etc annotations
39-
* rather than {@link ReadOperation @ReadOperation},
38+
* {@link PostMapping @PostMapping}, {@link DeleteMapping @DeleteMapping}, etc.
39+
* annotations rather than {@link ReadOperation @ReadOperation},
4040
* {@link WriteOperation @WriteOperation}, {@link DeleteOperation @DeleteOperation}.
4141
* <p>
4242
* This annotation can be used when deeper Spring integration is required, but at the

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/web/annotation/RestControllerEndpoint.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -36,8 +36,8 @@
3636
/**
3737
* Identifies a type as being a REST endpoint that is only exposed over Spring MVC or
3838
* Spring WebFlux. Mapped methods must be annotated with {@link GetMapping @GetMapping},
39-
* {@link PostMapping @PostMapping}, {@link DeleteMapping @DeleteMapping}, etc annotations
40-
* rather than {@link ReadOperation @ReadOperation},
39+
* {@link PostMapping @PostMapping}, {@link DeleteMapping @DeleteMapping}, etc.
40+
* annotations rather than {@link ReadOperation @ReadOperation},
4141
* {@link WriteOperation @WriteOperation}, {@link DeleteOperation @DeleteOperation}.
4242
* <p>
4343
* This annotation can be used when deeper Spring integration is required, but at the

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/trace/http/TraceableRequest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
public interface TraceableRequest {
3131

3232
/**
33-
* Returns the method (GET, POST, etc) of the request.
33+
* Returns the method (GET, POST, etc.) of the request.
3434
* @return the method
3535
*/
3636
String getMethod();

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/MetricsEndpointTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -67,7 +67,7 @@ void listNamesProducesListOfUniqueMeterNames() {
6767
}
6868

6969
@Test
70-
void listNamesRecursesOverCompositeRegistries() {
70+
void listNamesResponseOverCompositeRegistries() {
7171
CompositeMeterRegistry composite = new CompositeMeterRegistry();
7272
SimpleMeterRegistry reg1 = new SimpleMeterRegistry();
7373
SimpleMeterRegistry reg2 = new SimpleMeterRegistry();

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/quartz/QuartzEndpointWebIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ void quartzTriggerNames(WebTestClient client) {
106106

107107
@WebEndpointTest
108108
void quartzTriggersOrJobsAreAllowed(WebTestClient client) {
109-
client.get().uri("/actuator/quartz/something-elese").exchange().expectStatus().isBadRequest();
109+
client.get().uri("/actuator/quartz/something-else").exchange().expectStatus().isBadRequest();
110110
}
111111

112112
@WebEndpointTest

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnProperty.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -131,7 +131,7 @@
131131
/**
132132
* Specify if the condition should match if the property is not set. Defaults to
133133
* {@code false}.
134-
* @return if should match if the property is missing
134+
* @return if the condition should match if the property is missing
135135
*/
136136
boolean matchIfMissing() default false;
137137

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jmx/ParentAwareNamingStrategy.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -48,7 +48,8 @@ public ParentAwareNamingStrategy(JmxAttributeSource attributeSource) {
4848

4949
/**
5050
* Set if unique runtime object names should be ensured.
51-
* @param ensureUniqueRuntimeObjectNames {@code true} if unique names should ensured.
51+
* @param ensureUniqueRuntimeObjectNames {@code true} if unique names should be
52+
* ensured.
5253
*/
5354
public void setEnsureUniqueRuntimeObjectNames(boolean ensureUniqueRuntimeObjectNames) {
5455
this.ensureUniqueRuntimeObjectNames = ensureUniqueRuntimeObjectNames;

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/saml2/Saml2LoginConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2020 the original author or authors.
2+
* Copyright 2012-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/jdbc/MultiDataSourceUsingPrimaryConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import org.springframework.context.annotation.Primary;
2424

2525
/**
26-
* Configuration for multiple {@link DataSource} (one being {@code @Primary}.
26+
* Configuration for multiple {@link DataSource} (one being {@code @Primary}).
2727
*
2828
* @author Phillip Webb
2929
* @author Kazuki Shimizu

0 commit comments

Comments
 (0)