Skip to content

Commit 533c418

Browse files
izeyesnicoll
authored andcommitted
Polish
Closes gh-9610
1 parent 74a71b0 commit 533c418

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ public class JpaBatchConfigurer extends BasicBatchConfigurer {
4141
* Create a new {@link BasicBatchConfigurer} instance.
4242
* @param properties the batch properties
4343
* @param dataSource the underlying data source
44-
* @param entityManagerFactory the entity manager factory (or {@code null})
4544
* @param transactionManagerCustomizers transaction manager customizers (or
4645
* {@code null})
46+
* @param entityManagerFactory the entity manager factory (or {@code null})
4747
*/
4848
protected JpaBatchConfigurer(BatchProperties properties, DataSource dataSource,
4949
TransactionManagerCustomizers transactionManagerCustomizers,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public ConditionOutcome[] resolveOutcomes() {
306306
this.autoConfigurationMetadata);
307307
}
308308

309-
private ConditionOutcome[] getOutcomes(final String[] autoConfigurationClasses,
309+
private ConditionOutcome[] getOutcomes(String[] autoConfigurationClasses,
310310
int start, int end, AutoConfigurationMetadata autoConfigurationMetadata) {
311311
ConditionOutcome[] outcomes = new ConditionOutcome[end - start];
312312
for (int i = start; i < end; i++) {

spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5434,7 +5434,7 @@ configuration is usually found.
54345434

54355435
If you want to customize the primary configuration, you can use a nested
54365436
`@TestConfiguration` class. Unlike a nested `@Configuration` class which would be used
5437-
instead of a your application's primary configuration, a nested `@TestConfiguration` class
5437+
instead of your application's primary configuration, a nested `@TestConfiguration` class
54385438
will be used in addition to your application's primary configuration.
54395439

54405440
NOTE: Spring's test framework will cache application contexts between tests. Therefore, as

spring-boot/src/main/java/org/springframework/boot/admin/SpringApplicationAdminMXBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package org.springframework.boot.admin;
1818

1919
/**
20-
* A MBean contract to control and monitor a running {@code SpringApplication} via JMX.
20+
* An MBean contract to control and monitor a running {@code SpringApplication} via JMX.
2121
* Intended for internal use only.
2222
*
2323
* @author Stephane Nicoll

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ private ConfigurationPropertyName chopNameAtNumericIndex(
134134
int start = this.root.getNumberOfElements() + 1;
135135
int size = name.getNumberOfElements();
136136
for (int i = start; i < size; i++) {
137-
if (name.IsNumericIndex(i)) {
137+
if (name.isNumericIndex(i)) {
138138
return name.chop(i);
139139
}
140140
}

spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertyName.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public boolean isLastElementIndexed() {
9595
}
9696

9797
/**
98-
* Return if the an element in the name is indexed.
98+
* Return if the element in the name is indexed.
9999
* @param elementIndex the index of the element
100100
* @return {@code true} if the element is indexed
101101
*/
@@ -104,11 +104,11 @@ boolean isIndexed(int elementIndex) {
104104
}
105105

106106
/**
107-
* Return if the an element in the name is indexed and numeric.
107+
* Return if the element in the name is indexed and numeric.
108108
* @param elementIndex the index of the element
109109
* @return {@code true} if the element is indexed and numeric
110110
*/
111-
public boolean IsNumericIndex(int elementIndex) {
111+
public boolean isNumericIndex(int elementIndex) {
112112
return isIndexed(elementIndex)
113113
&& isNumeric(getElement(elementIndex, Form.ORIGINAL));
114114
}

spring-boot/src/main/java/org/springframework/boot/context/properties/source/ConfigurationPropertySources.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public static Iterable<ConfigurationPropertySource> from(PropertySource<?> sourc
109109
* {@link StubPropertySource stub property sources}. Updates to the underlying source
110110
* will be automatically tracked.
111111
* @param sources the Spring property sources to adapt
112-
* @return an {@link Iterable} containing a single newly adapted
112+
* @return an {@link Iterable} containing newly adapted
113113
* {@link SpringConfigurationPropertySource} instances
114114
*/
115115
public static Iterable<ConfigurationPropertySource> from(
@@ -124,7 +124,7 @@ public static Iterable<ConfigurationPropertySource> from(
124124
* This method will flatten any nested property sources and will filter all
125125
* {@link StubPropertySource stub property sources}.
126126
* @param sources the Spring property sources to adapt
127-
* @return an {@link Iterable} containing a single newly adapted
127+
* @return an {@link Iterable} containing newly adapted
128128
* {@link SpringConfigurationPropertySource} instances
129129
*/
130130
public static Iterable<ConfigurationPropertySource> from(

0 commit comments

Comments
 (0)