Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-2526

Remove deprecations in Core after upgrade to Spring 3.1.1

    XMLWordPrintable

    Details

    • Type: Refactoring
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.2 M1
    • Fix Version/s: 3.0 M1
    • Component/s: Core
    • Labels:

      Description

      /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
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sobychacko Soby Chacko
              Reporter:
              hillert Gunnar Hillert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: