Skip to content

Commit e0b2f1e

Browse files
mp911dechristophstrobl
authored andcommitted
Polishing.
Fix naming. Original Pull Request: #2940
1 parent e04f0b0 commit e0b2f1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/main/java/org/springframework/data/util/TypeDiscoverer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected TypeDiscoverer(ResolvableType type) {
7474
.map(ResolvableType::toClass).collect(Collectors.toList()));
7575
}
7676

77-
static TypeDiscoverer<?> td(ResolvableType type) {
77+
static TypeDiscoverer<?> ofCached(ResolvableType type) {
7878

7979
Assert.notNull(type, "Type must not be null");
8080

src/main/java/org/springframework/data/util/TypeInformation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public static TypeInformation<?> of(ResolvableType type) {
6060
Assert.notNull(type, "Type must not be null");
6161

6262
return type.hasGenerics() || (type.isArray() && type.getComponentType().hasGenerics()) //
63-
|| (type.getType() instanceof TypeVariable) ? TypeDiscoverer.td(type) : ClassTypeInformation.from(type);
63+
|| (type.getType() instanceof TypeVariable) ? TypeDiscoverer.ofCached(type) : ClassTypeInformation.from(type);
6464
}
6565

6666
/**

src/test/java/org/springframework/data/mapping/PropertyPathUnitTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void handlesArrayCorrectly() {
124124
}
125125

126126
@Test
127-
void handlesInvalidCollectionCompountTypeProperl() {
127+
void handlesInvalidCollectionCompoundTypeProperly() {
128128

129129
try {
130130
PropertyPath.from("usersMame", Bar.class);

0 commit comments

Comments
 (0)