Skip to content

Remove deprecations in Core after upgrade to Spring 3.1.1 [INT-2526] #6449

@spring-operator

Description

@spring-operator

Gunnar Hillert opened INT-2526 and commented

/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/util/BeanFactoryTypeConverter.java:48: warning: [deprecation] createDefaultConversionService() in org.springframework.core.convert.support.ConversionServiceFactory has been deprecated
				defaultConversionService = ConversionServiceFactory.createDefaultConversionService();
				                                                   ^
/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/util/MessagingMethodInvokerHelper.java:362: warning: [deprecation] isCglibProxyClass(java.lang.Class<?>) in org.springframework.aop.support.AopUtils has been deprecated
		else if (AopUtils.isCglibProxyClass(targetClass)) {
		                 ^
/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/config/AnnotationFinder.java:53: warning: [deprecation] isCglibProxyClass(java.lang.Class<?>) in org.springframework.aop.support.AopUtils has been deprecated
		else if (AopUtils.isCglibProxyClass(targetClass)) {
		                 ^
/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/router/AbstractMessageRouter.java:105: warning: [deprecation] createDefaultConversionService() in org.springframework.core.convert.support.ConversionServiceFactory has been deprecated
			this.setConversionService(ConversionServiceFactory.createDefaultConversionService());
			                                                  ^
/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/config/xml/ChannelInitializer.java:72: warning: [cast] redundant cast to org.springframework.integration.config.xml.ChannelInitializer.AutoCreateCandidatesCollector
					(AutoCreateCandidatesCollector) beanFactory.getBean(AUTO_CREATE_CHANNEL_CANDIDATES_BEAN_NAME, AutoCreateCandidatesCollector.class);
					^
/Users/ghillert/dev/git-ghillert/spring-integration/spring-integration-core/src/main/java/org/springframework/integration/transformer/MapToObjectTransformer.java:76: warning: [deprecation] createDefaultConversionService() in org.springframework.core.convert.support.ConversionServiceFactory has been deprecated
			conversionService = ConversionServiceFactory.createDefaultConversionService();
			                                            ^
6 warnings

Affects: 2.2 M1

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions