Skip to content

Commit 1586232

Browse files
polarbear567wilkinsona
authored andcommitted
Polish
See gh-28367
1 parent 7a38455 commit 1586232

File tree

13 files changed

+33
-32
lines changed

13 files changed

+33
-32
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-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnBean.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.
@@ -51,7 +51,7 @@
5151
* already contained in the {@link BeanFactory}.
5252
* <p>
5353
* The condition can only match the bean definitions that have been processed by the
54-
* application context so far and, as such, it is strongly recommended to use this
54+
* application context so far and, as such, it is strongly recommended using this
5555
* condition on auto-configuration classes only. If a candidate bean may be created by
5656
* another auto-configuration, make sure that the one using this condition runs after.
5757
*

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/condition/ConditionalOnMissingBean.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.
@@ -51,7 +51,7 @@
5151
* already contained in the {@link BeanFactory}.
5252
* <p>
5353
* The condition can only match the bean definitions that have been processed by the
54-
* application context so far and, as such, it is strongly recommended to use this
54+
* application context so far and, as such, it is strongly recommended using this
5555
* condition on auto-configuration classes only. If a candidate bean may be created by
5656
* another auto-configuration, make sure that the one using this condition runs after.
5757
*

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/condition/ConditionalOnSingleCandidate.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.
@@ -35,7 +35,7 @@
3535
* condition match if auto-wiring a bean with the defined type will succeed.
3636
* <p>
3737
* The condition can only match the bean definitions that have been processed by the
38-
* application context so far and, as such, it is strongly recommended to use this
38+
* application context so far and, as such, it is strongly recommended using this
3939
* condition on auto-configuration classes only. If a candidate bean may be created by
4040
* another auto-configuration, make sure that the one using this condition runs after.
4141
*

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: 3 additions & 3 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.
@@ -26,8 +26,8 @@
2626
import org.springframework.security.web.SecurityFilterChain;
2727

2828
/**
29-
* {@link WebSecurityConfigurerAdapter} configuration for Spring Security's relying party
30-
* SAML support.
29+
* {@link WebSecurityConfigurerAdapter} configuration for Spring Security's relying on
30+
* party SAML support.
3131
*
3232
* @author Madhura Bhave
3333
*/

0 commit comments

Comments
 (0)