Skip to content

Commit 47237b8

Browse files
Swtich TypeDiscoverer implementations
1 parent efa4d29 commit 47237b8

9 files changed

+277
-1697
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* @author Christoph Strobl
3232
* @since 2021/11
3333
*/
34-
public class ClassTypeInformation<S> extends NewTypeDiscoverer<S> {
34+
public class ClassTypeInformation<S> extends TypeDiscoverer<S> {
3535

3636
public static final ClassTypeInformation<Collection> COLLECTION = new ClassTypeInformation(Collection.class);
3737
public static final ClassTypeInformation<List> LIST = new ClassTypeInformation(List.class);
@@ -43,7 +43,7 @@ public class ClassTypeInformation<S> extends NewTypeDiscoverer<S> {
4343
ReferenceType.WEAK);
4444

4545
public static TypeInformation<?> fromReturnTypeOf(Method method) {
46-
return new NewTypeDiscoverer<>(ResolvableType.forMethodReturnType(method));
46+
return new TypeDiscoverer<>(ResolvableType.forMethodReturnType(method));
4747
}
4848
//
4949
// public static TypeInformation<?> fromReturnTypeOf(Method method, Class<?> actualType) {

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

-63
This file was deleted.

0 commit comments

Comments
 (0)