Browse Source

Remove deprecation on CandidateComponentsIndex(Loader)

See gh-35472
pull/35629/head
Juergen Hoeller 2 months ago
parent
commit
83efe8cff4
  1. 1
      spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java
  2. 1
      spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesScanner.java

1
spring-context/src/main/java/org/springframework/context/annotation/ClassPathScanningCandidateComponentProvider.java

@ -90,7 +90,6 @@ import org.springframework.util.ClassUtils;
* @see ScannedGenericBeanDefinition * @see ScannedGenericBeanDefinition
* @see CandidateComponentsIndex * @see CandidateComponentsIndex
*/ */
@SuppressWarnings("removal") // components index
public class ClassPathScanningCandidateComponentProvider implements EnvironmentCapable, ResourceLoaderAware { public class ClassPathScanningCandidateComponentProvider implements EnvironmentCapable, ResourceLoaderAware {
static final String DEFAULT_RESOURCE_PATTERN = "**/*.class"; static final String DEFAULT_RESOURCE_PATTERN = "**/*.class";

1
spring-orm/src/main/java/org/springframework/orm/jpa/persistenceunit/PersistenceManagedTypesScanner.java

@ -54,7 +54,6 @@ import org.springframework.util.ResourceUtils;
* @author Stephane Nicoll * @author Stephane Nicoll
* @since 6.0 * @since 6.0
*/ */
@SuppressWarnings("removal") // components index
public final class PersistenceManagedTypesScanner { public final class PersistenceManagedTypesScanner {
private static final String CLASS_RESOURCE_PATTERN = "/**/*.class"; private static final String CLASS_RESOURCE_PATTERN = "/**/*.class";

Loading…
Cancel
Save