Skip to content

Commit 116a256

Browse files
committed
Fix typos in AnnotationsScannerTests
1 parent 2c57814 commit 116a256

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -86,7 +86,7 @@ void directStrategyOnClassHierarchyScansInCorrectOrder() {
8686
}
8787

8888
@Test
89-
void inheritedAnnotationsStrategyOnClassWhenNotAnnoatedScansNone() {
89+
void inheritedAnnotationsStrategyOnClassWhenNotAnnotatedScansNone() {
9090
Class<?> source = WithNoAnnotations.class;
9191
assertThat(scan(source, SearchStrategy.INHERITED_ANNOTATIONS)).isEmpty();
9292
}
@@ -137,7 +137,7 @@ void inheritedAnnotationsStrategyOnClassWhenHasAnnotationOnBothClassesIncudesOnl
137137
}
138138

139139
@Test
140-
void superclassStrategyOnClassWhenNotAnnoatedScansNone() {
140+
void superclassStrategyOnClassWhenNotAnnotatedScansNone() {
141141
Class<?> source = WithNoAnnotations.class;
142142
assertThat(scan(source, SearchStrategy.SUPERCLASS)).isEmpty();
143143
}
@@ -179,7 +179,7 @@ void superclassStrategyOnClassHierarchyScansInCorrectOrder() {
179179
}
180180

181181
@Test
182-
void typeHierarchyStrategyOnClassWhenNotAnnoatedScansNone() {
182+
void typeHierarchyStrategyOnClassWhenNotAnnotatedScansNone() {
183183
Class<?> source = WithNoAnnotations.class;
184184
assertThat(scan(source, SearchStrategy.TYPE_HIERARCHY)).isEmpty();
185185
}
@@ -222,7 +222,7 @@ void typeHierarchyStrategyOnClassHierarchyScansInCorrectOrder() {
222222
}
223223

224224
@Test
225-
void directStrategyOnMethodWhenNotAnnoatedScansNone() {
225+
void directStrategyOnMethodWhenNotAnnotatedScansNone() {
226226
Method source = methodFrom(WithNoAnnotations.class);
227227
assertThat(scan(source, SearchStrategy.DIRECT)).isEmpty();
228228
}
@@ -263,7 +263,7 @@ void directStrategyOnMethodHierarchyScansInCorrectOrder() {
263263
}
264264

265265
@Test
266-
void inheritedAnnotationsStrategyOnMethodWhenNotAnnoatedScansNone() {
266+
void inheritedAnnotationsStrategyOnMethodWhenNotAnnotatedScansNone() {
267267
Method source = methodFrom(WithNoAnnotations.class);
268268
assertThat(scan(source, SearchStrategy.INHERITED_ANNOTATIONS)).isEmpty();
269269
}
@@ -304,7 +304,7 @@ void inheritedAnnotationsStrategyOnMethodHierarchyScansInCorrectOrder() {
304304
}
305305

306306
@Test
307-
void superclassStrategyOnMethodWhenNotAnnoatedScansNone() {
307+
void superclassStrategyOnMethodWhenNotAnnotatedScansNone() {
308308
Method source = methodFrom(WithNoAnnotations.class);
309309
assertThat(scan(source, SearchStrategy.SUPERCLASS)).isEmpty();
310310
}
@@ -346,7 +346,7 @@ void superclassStrategyOnMethodHierarchyScansInCorrectOrder() {
346346
}
347347

348348
@Test
349-
void typeHierarchyStrategyOnMethodWhenNotAnnoatedScansNone() {
349+
void typeHierarchyStrategyOnMethodWhenNotAnnotatedScansNone() {
350350
Method source = methodFrom(WithNoAnnotations.class);
351351
assertThat(scan(source, SearchStrategy.TYPE_HIERARCHY)).isEmpty();
352352
}

0 commit comments

Comments
 (0)