Skip to content

Commit 783bfb6

Browse files
committed
Merge branch '3.1.x'
Closes gh-36420
2 parents b8c4fb6 + 795f0b7 commit 783bfb6

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 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.
@@ -32,7 +32,7 @@ public final class AutoTimeProperties {
3232
private boolean enabled = true;
3333

3434
/**
35-
* Whether to publish percentile histrograms.
35+
* Whether to publish percentile histograms.
3636
*/
3737
private boolean percentilesHistogram;
3838

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/exchanges/reactive/HttpExchangesWebFilter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ private Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain,
8383

8484
private void addExchangeOnCommit(ServerWebExchange exchange, PrincipalAndSession principalAndSession) {
8585
RecordableServerHttpRequest sourceRequest = new RecordableServerHttpRequest(exchange.getRequest());
86-
HttpExchange.Started startedHtppExchange = HttpExchange.start(sourceRequest);
86+
HttpExchange.Started startedHttpExchange = HttpExchange.start(sourceRequest);
8787
exchange.getResponse().beforeCommit(() -> {
8888
RecordableServerHttpResponse sourceResponse = new RecordableServerHttpResponse(exchange.getResponse());
89-
HttpExchange finishedExchange = startedHtppExchange.finish(sourceResponse,
89+
HttpExchange finishedExchange = startedHttpExchange.finish(sourceResponse,
9090
principalAndSession::getPrincipal, principalAndSession::getSessionId, this.includes);
9191
this.repository.add(finishedExchange);
9292
return Mono.empty();

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/web/exchanges/servlet/HttpExchangesFilter.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 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.
@@ -83,15 +83,15 @@ protected void doFilterInternal(HttpServletRequest request, HttpServletResponse
8383
return;
8484
}
8585
RecordableServletHttpRequest sourceRequest = new RecordableServletHttpRequest(request);
86-
HttpExchange.Started startedHtppExchange = HttpExchange.start(sourceRequest);
86+
HttpExchange.Started startedHttpExchange = HttpExchange.start(sourceRequest);
8787
int status = HttpStatus.INTERNAL_SERVER_ERROR.value();
8888
try {
8989
filterChain.doFilter(request, response);
9090
status = response.getStatus();
9191
}
9292
finally {
9393
RecordableServletHttpResponse sourceResponse = new RecordableServletHttpResponse(response, status);
94-
HttpExchange finishedExchange = startedHtppExchange.finish(sourceResponse, request::getUserPrincipal,
94+
HttpExchange finishedExchange = startedHttpExchange.finish(sourceResponse, request::getUserPrincipal,
9595
() -> getSessionId(request), this.includes);
9696
this.repository.add(finishedExchange);
9797
}

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerProperties.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2022 the original author or authors.
2+
* Copyright 2012-2023 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.
@@ -92,8 +92,8 @@ public List<String> getJwsAlgorithms() {
9292
return this.jwsAlgorithms;
9393
}
9494

95-
public void setJwsAlgorithms(List<String> jwsAlgortithms) {
96-
this.jwsAlgorithms = jwsAlgortithms;
95+
public void setJwsAlgorithms(List<String> jwsAlgorithms) {
96+
this.jwsAlgorithms = jwsAlgorithms;
9797
}
9898

9999
public String getIssuerUri() {

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/testing/testcontainers/atdevelopmenttime/devtools/MyContainersConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class MyContainersConfiguration {
2727

2828
@Bean
2929
@RestartScope
30-
public MongoDBContainer monogDbContainer() {
30+
public MongoDBContainer mongoDbContainer() {
3131
return new MongoDBContainer("mongo:5.0");
3232
}
3333

spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/testing/testcontainers/atdevelopmenttime/dynamicproperties/MyContainersConfiguration.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
public class MyContainersConfiguration {
2727

2828
@Bean
29-
public MongoDBContainer monogDbContainer(DynamicPropertyRegistry properties) {
29+
public MongoDBContainer mongoDbContainer(DynamicPropertyRegistry properties) {
3030
MongoDBContainer container = new MongoDBContainer("mongo:5.0");
3131
properties.add("spring.data.mongodb.host", container::getHost);
3232
properties.add("spring.data.mongodb.port", container::getFirstMappedPort);

spring-boot-project/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/service/connection/ServiceConnectionAutoConfigurationRegistrar.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ private void registerBeanDefinitions(ConfigurableListableBeanFactory beanFactory
6868

6969
private Set<ServiceConnection> getAnnotations(ConfigurableListableBeanFactory beanFactory, String beanName,
7070
BeanDefinition beanDefinition) {
71-
Set<ServiceConnection> annoations = new LinkedHashSet<>();
72-
annoations.addAll(beanFactory.findAllAnnotationsOnBean(beanName, ServiceConnection.class, false));
71+
Set<ServiceConnection> annotations = new LinkedHashSet<>();
72+
annotations.addAll(beanFactory.findAllAnnotationsOnBean(beanName, ServiceConnection.class, false));
7373
if (beanDefinition instanceof TestcontainerBeanDefinition testcontainerBeanDefinition) {
7474
testcontainerBeanDefinition.getAnnotations()
7575
.stream(ServiceConnection.class)
7676
.map(MergedAnnotation::synthesize)
77-
.forEach(annoations::add);
77+
.forEach(annotations::add);
7878
}
79-
return annoations;
79+
return annotations;
8080
}
8181

8282
private BeanDefinition getBeanDefinition(ConfigurableListableBeanFactory beanFactory, String beanName) {

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Bindable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public Bindable<T> withBindRestrictions(BindRestriction... additionalRestriction
230230
}
231231

232232
/**
233-
* Create an updated {@link Bindable} instance with a specifc bind method. To use
233+
* Create an updated {@link Bindable} instance with a specific bind method. To use
234234
* {@link BindMethod#VALUE_OBJECT value object binding}, the current instance must not
235235
* have an existing or supplied value.
236236
* @param bindMethod the method to use to bind the bindable

0 commit comments

Comments
 (0)