Skip to content

Commit 0fb9de5

Browse files
committed
Merge branch '5.3.x'
2 parents 8242897 + bd34996 commit 0fb9de5

File tree

19 files changed

+32
-32
lines changed

19 files changed

+32
-32
lines changed

spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void copyPropertiesHonorsGenericTypeMatchesForUpperBoundedWildcard() {
280280
* {@code Number} can NOT be copied to {@code Integer}.
281281
*/
282282
@Test
283-
void copyPropertiesDoesNotCopyeFromSuperTypeToSubType() {
283+
void copyPropertiesDoesNotCopyFromSuperTypeToSubType() {
284284
NumberHolder numberHolder = new NumberHolder();
285285
numberHolder.setNumber(Integer.valueOf(42));
286286
IntegerHolder integerHolder = new IntegerHolder();

spring-context/src/test/java/org/springframework/context/annotation/ParserStrategyUtilsTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void instantiateClassWhenHasNoArgsConstructorCallsAware() {
7575
}
7676

7777
@Test
78-
public void instantiateClassWhenHasSingleContructorInjectsParams() {
78+
public void instantiateClassWhenHasSingleConstructorInjectsParams() {
7979
ArgsConstructor instance = instantiateClass(ArgsConstructor.class);
8080
assertThat(instance.environment).isSameAs(this.environment);
8181
assertThat(instance.beanFactory).isSameAs(this.registry);
@@ -84,7 +84,7 @@ public void instantiateClassWhenHasSingleContructorInjectsParams() {
8484
}
8585

8686
@Test
87-
public void instantiateClassWhenHasSingleContructorAndAwareInjectsParamsAndCallsAware() {
87+
public void instantiateClassWhenHasSingleConstructorAndAwareInjectsParamsAndCallsAware() {
8888
ArgsConstructorAndAware instance = instantiateClass(ArgsConstructorAndAware.class);
8989
assertThat(instance.environment).isSameAs(this.environment);
9090
assertThat(instance.setEnvironment).isSameAs(this.environment);
@@ -104,7 +104,7 @@ public void instantiateClassWhenHasMultipleConstructorsUsesNoArgsConstructor() {
104104
}
105105

106106
@Test
107-
public void instantiateClassWhenHasMutlipleConstructorsAndNotDefaultThrowsException() {
107+
public void instantiateClassWhenHasMultipleConstructorsAndNotDefaultThrowsException() {
108108
assertThatExceptionOfType(BeanInstantiationException.class).isThrownBy(() ->
109109
instantiateClass(MultipleConstructorsWithNoDefault.class));
110110
}

spring-core/src/test/java/org/springframework/core/annotation/AnnotationBackCompatibiltyTests.java renamed to spring-core/src/test/java/org/springframework/core/annotation/AnnotationBackCompatibilityTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* @author Phillip Webb
3030
* @since 5.2
3131
*/
32-
class AnnotationBackCompatibiltyTests {
32+
class AnnotationBackCompatibilityTests {
3333

3434
@Test
3535
void multiplRoutesToMetaAnnotation() {

spring-core/src/test/java/org/springframework/core/annotation/AnnotationsScannerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void inheritedAnnotationsStrategyOnClassHierarchyScansInCorrectOrder() {
123123
}
124124

125125
@Test
126-
void inheritedAnnotationsStrategyOnClassWhenHasAnnotationOnBothClassesIncudesOnlyOne() {
126+
void inheritedAnnotationsStrategyOnClassWhenHasAnnotationOnBothClassesIncludesOnlyOne() {
127127
Class<?> source = WithSingleSuperclassAndDoubleInherited.class;
128128
assertThat(Arrays.stream(source.getAnnotations()).map(
129129
Annotation::annotationType).map(Class::getName)).containsExactly(

spring-core/src/test/java/org/springframework/core/env/StandardEnvironmentTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void getActiveProfiles_fromSystemProperties_withMultipleProfiles() {
239239
}
240240

241241
@Test
242-
void getActiveProfiles_fromSystemProperties_withMulitpleProfiles_withWhitespace() {
242+
void getActiveProfiles_fromSystemProperties_withMultipleProfiles_withWhitespace() {
243243
System.setProperty(ACTIVE_PROFILES_PROPERTY_NAME, " bar , baz "); // notice whitespace
244244
assertThat(environment.getActiveProfiles()).contains("bar", "baz");
245245
System.clearProperty(ACTIVE_PROFILES_PROPERTY_NAME);

spring-expression/src/test/java/org/springframework/expression/spel/SetValueTests.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ public void testSetListElementValue() {
139139
}
140140

141141
@Test
142-
public void testSetGenericListElementValueTypeCoersion() {
142+
public void testSetGenericListElementValueTypeCoercion() {
143143
// TODO currently failing since setValue does a getValue and "Wien" string != PlaceOfBirth - check with andy
144144
setValue("placesLivedList[0]", "Wien");
145145
}
146146

147147
@Test
148-
public void testSetGenericListElementValueTypeCoersionOK() {
148+
public void testSetGenericListElementValueTypeCoercionOK() {
149149
setValue("booleanList[0]", "true", Boolean.TRUE);
150150
}
151151

@@ -171,12 +171,12 @@ public void testIndexingIntoUnsupportedType() {
171171
}
172172

173173
@Test
174-
public void testSetPropertyTypeCoersion() {
174+
public void testSetPropertyTypeCoercion() {
175175
setValue("publicBoolean", "true", Boolean.TRUE);
176176
}
177177

178178
@Test
179-
public void testSetPropertyTypeCoersionThroughSetter() {
179+
public void testSetPropertyTypeCoercionThroughSetter() {
180180
setValue("SomeProperty", "true", Boolean.TRUE);
181181
}
182182

spring-jdbc/src/test/java/org/springframework/jdbc/datasource/lookup/MapDataSourceLookupTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ public void setDataSourcesIsAnIdempotentOperation() throws Exception {
7373
@Test
7474
public void addingDataSourcePermitsOverride() throws Exception {
7575
Map<String, DataSource> dataSources = new HashMap<>();
76-
StubDataSource overridenDataSource = new StubDataSource();
76+
StubDataSource overriddenDataSource = new StubDataSource();
7777
StubDataSource expectedDataSource = new StubDataSource();
78-
dataSources.put(DATA_SOURCE_NAME, overridenDataSource);
78+
dataSources.put(DATA_SOURCE_NAME, overriddenDataSource);
7979
MapDataSourceLookup lookup = new MapDataSourceLookup();
8080
lookup.setDataSources(dataSources);
8181
lookup.addDataSource(DATA_SOURCE_NAME, expectedDataSource); // must override existing entry

spring-jdbc/src/test/java/org/springframework/jdbc/support/DatabaseStartupValidatorTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void shouldUseJdbc4IsValidByDefault() throws Exception {
8080
}
8181

8282
@Test
83-
void shouldCallValidatonTwiceWhenNotValid() throws Exception {
83+
void shouldCallValidationTwiceWhenNotValid() throws Exception {
8484
given(connection.isValid(1)).willReturn(false, true);
8585

8686
validator.afterPropertiesSet();
@@ -90,7 +90,7 @@ void shouldCallValidatonTwiceWhenNotValid() throws Exception {
9090
}
9191

9292
@Test
93-
void shouldCallValidatonTwiceInCaseOfException() throws Exception {
93+
void shouldCallValidationTwiceInCaseOfException() throws Exception {
9494
given(connection.isValid(1)).willThrow(new SQLException("Test")).willReturn(true);
9595

9696
validator.afterPropertiesSet();
@@ -118,7 +118,7 @@ void useValidationQueryInsteadOfIsValid() throws Exception {
118118

119119
@Test
120120
@SuppressWarnings("deprecation")
121-
void shouldExecuteValidatonTwiceOnError() throws Exception {
121+
void shouldExecuteValidationTwiceOnError() throws Exception {
122122
String validationQuery = "SELECT NOW() FROM DUAL";
123123
Statement statement = mock(Statement.class);
124124
given(connection.createStatement()).willReturn(statement);

spring-messaging/src/test/java/org/springframework/messaging/simp/stomp/StompHeaderAccessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void createWithSubscribeNativeHeaders() {
7070
}
7171

7272
@Test
73-
public void createWithUnubscribeNativeHeaders() {
73+
public void createWithUnsubscribeNativeHeaders() {
7474
MultiValueMap<String, String> extHeaders = new LinkedMultiValueMap<>();
7575
extHeaders.add(StompHeaderAccessor.STOMP_ID_HEADER, "s1");
7676

spring-oxm/src/test/java/org/springframework/oxm/jaxb/Jaxb2UnmarshallerTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public void unmarshalPartialStaxSourceXmlStreamReader() throws Exception {
126126

127127
@Test
128128
@SuppressWarnings("unchecked")
129-
public void unmarshalAnXmlReferingToAWrappedXmlElementDecl() throws Exception {
129+
public void unmarshalAnXmlReferringToAWrappedXmlElementDecl() throws Exception {
130130
// SPR-10714
131131
unmarshaller = new Jaxb2Marshaller();
132132
unmarshaller.setPackagesToScan(new String[] { "org.springframework.oxm.jaxb" });

0 commit comments

Comments
 (0)