File tree 3 files changed +3
-3
lines changed
main/java/org/springframework/data/util
test/java/org/springframework/data/mapping 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ protected TypeDiscoverer(ResolvableType type) {
74
74
.map (ResolvableType ::toClass ).collect (Collectors .toList ()));
75
75
}
76
76
77
- static TypeDiscoverer <?> td (ResolvableType type ) {
77
+ static TypeDiscoverer <?> ofCached (ResolvableType type ) {
78
78
79
79
Assert .notNull (type , "Type must not be null" );
80
80
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public static TypeInformation<?> of(ResolvableType type) {
60
60
Assert .notNull (type , "Type must not be null" );
61
61
62
62
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 );
64
64
}
65
65
66
66
/**
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ void handlesArrayCorrectly() {
124
124
}
125
125
126
126
@ Test
127
- void handlesInvalidCollectionCompountTypeProperl () {
127
+ void handlesInvalidCollectionCompoundTypeProperly () {
128
128
129
129
try {
130
130
PropertyPath .from ("usersMame" , Bar .class );
You can’t perform that action at this time.
0 commit comments