Skip to content

Commit 111dfd8

Browse files
committed
Merge pull request #30773 from marcwrobel
* gh-30773: Polish "Fix typos" Fix typos Closes gh-30773
2 parents 561526f + 4fd2e0c commit 111dfd8

File tree

48 files changed

+104
-105
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+104
-105
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/dynatrace/DynatraceProperties.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-2022 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.
@@ -46,7 +46,7 @@ public class DynatraceProperties extends StepRegistryProperties {
4646
private String technologyType = "java";
4747

4848
/**
49-
* URI to ship metrics to. Should be used for SaaS, self managed instances or to
49+
* URI to ship metrics to. Should be used for SaaS, self-managed instances or to
5050
* en-route through an internal proxy.
5151
*/
5252
private String uri;

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/availability/AvailabilityStateHealthIndicator.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-2022 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.
@@ -50,7 +50,7 @@ public class AvailabilityStateHealthIndicator extends AbstractHealthIndicator {
5050
* @param <S> the availability state type
5151
* @param applicationAvailability the application availability
5252
* @param stateType the availability state type
53-
* @param statusMappings consumer used to setup the status mappings
53+
* @param statusMappings consumer used to set up the status mappings
5454
*/
5555
public <S extends AvailabilityState> AvailabilityStateHealthIndicator(
5656
ApplicationAvailability applicationAvailability, Class<S> stateType,

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/endpoint/annotation/EndpointDiscoverer.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-2022 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.
@@ -357,7 +357,7 @@ protected static final class OperationKey {
357357
/**
358358
* Create a new {@link OperationKey} instance.
359359
* @param key the underlying key for the operation
360-
* @param description a human readable description of the key
360+
* @param description a human-readable description of the key
361361
*/
362362
public OperationKey(Object key, Supplier<String> description) {
363363
Assert.notNull(key, "Key must not be null");

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/MetricsEndpoint.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-2022 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.
@@ -225,7 +225,7 @@ public List<AvailableTag> getAvailableTags() {
225225
}
226226

227227
/**
228-
* A set of tags for further dimensional drilldown and their potential values.
228+
* A set of tags for further dimensional drill-down and their potential values.
229229
*/
230230
public static final class AvailableTag {
231231

spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/metrics/export/prometheus/PrometheusPushGatewayManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 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.
@@ -115,7 +115,7 @@ private void delete() {
115115
this.pushGateway.delete(this.job, this.groupingKey);
116116
}
117117
catch (Throwable ex) {
118-
logger.warn("Unexpected exception thrown while deleting metrics from Promethues Pushgateway", ex);
118+
logger.warn("Unexpected exception thrown while deleting metrics from Prometheus Pushgateway", ex);
119119
}
120120
}
121121

spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/cassandra/CassandraDriverHealthIndicatorTests.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-2022 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.
@@ -133,7 +133,7 @@ void healthWithoutNodeVersionShouldNotAddVersionDetail() {
133133
}
134134

135135
@Test
136-
void healthWithcassandraDownShouldReturnDown() {
136+
void healthWithCassandraDownShouldReturnDown() {
137137
CqlSession session = mock(CqlSession.class);
138138
given(session.getMetadata()).willThrow(new DriverTimeoutException("Test Exception"));
139139
CassandraDriverHealthIndicator healthIndicator = new CassandraDriverHealthIndicator(session);

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ void quartzJobWithSensitiveDataMap() throws SchedulerException {
659659
}
660660

661661
@Test
662-
void quartzJobWithSensitiveDataMapAndCustomSanitizier() throws SchedulerException {
662+
void quartzJobWithSensitiveDataMapAndCustomSanitizer() throws SchedulerException {
663663
JobDetail job = JobBuilder.newJob(Job.class).withIdentity("hello", "samples").usingJobData("test", "value")
664664
.usingJobData("secret", "value").build();
665665
mockJobs(job);

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 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.
@@ -37,7 +37,7 @@
3737

3838
/**
3939
* {@link ApplicationListener} to trigger early initialization in a background thread of
40-
* time consuming tasks.
40+
* time-consuming tasks.
4141
* <p>
4242
* Set the {@link #IGNORE_BACKGROUNDPREINITIALIZER_PROPERTY_NAME} system property to
4343
* {@code true} to disable this mechanism and let such initialization happen in the

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/cassandra/CassandraProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 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.
@@ -264,7 +264,7 @@ public static class Request {
264264
private DefaultConsistencyLevel serialConsistency;
265265

266266
/**
267-
* How many rows will be retrieved simultaneously in a single network roundtrip.
267+
* How many rows will be retrieved simultaneously in a single network round-trip.
268268
*/
269269
private int pageSize;
270270

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/couchbase/ClusterEnvironmentBuilderCustomizer.java

Lines changed: 2 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-2022 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.
@@ -22,8 +22,7 @@
2222
* Callback interface that can be implemented by beans wishing to customize the
2323
* {@link ClusterEnvironment} via a
2424
* {@link com.couchbase.client.java.env.ClusterEnvironment.Builder
25-
* ClusterEnvironment.Builder} whilst retaining default auto-configuration.whilst
26-
* retaining default auto-configuration.
25+
* ClusterEnvironment.Builder} whilst retaining default auto-configuration.
2726
*
2827
* @author Stephane Nicoll
2928
* @since 2.3.0

0 commit comments

Comments
 (0)