File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/springframework/data/projection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3535import org .springframework .core .type .AnnotationMetadata ;
3636import org .springframework .core .type .MethodMetadata ;
3737import org .springframework .core .type .classreading .MetadataReader ;
38- import org .springframework .core .type .classreading .SimpleMetadataReaderFactory ;
38+ import org .springframework .core .type .classreading .MetadataReaderFactory ;
3939import org .springframework .data .util .StreamUtils ;
4040import org .springframework .util .Assert ;
4141import org .springframework .util .ClassUtils ;
@@ -222,7 +222,7 @@ private static Optional<AnnotationMetadata> getMetadata(Class<?> type) {
222222
223223 try {
224224
225- SimpleMetadataReaderFactory factory = new SimpleMetadataReaderFactory (type .getClassLoader ());
225+ MetadataReaderFactory factory = MetadataReaderFactory . create (type .getClassLoader ());
226226 MetadataReader metadataReader = factory .getMetadataReader (ClassUtils .getQualifiedName (type ));
227227
228228 return Optional .of (metadataReader .getAnnotationMetadata ());
You can’t perform that action at this time.
0 commit comments