File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
main/java/org/springframework/data/util
test/java/org/springframework/data/mapping Expand file tree Collapse file tree 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) {
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
Original file line number Diff line number Diff 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 /**
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments