Announcement Announcement Module
Collapse
No announcement yet.
Roo 1.2 mvc ApplicationConversionServiceFactoryBean uses deprecated installFormatters Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Roo 1.2 mvc ApplicationConversionServiceFactoryBean uses deprecated installFormatters

    Hello:

    In a Roo 1.2.0.RELEASE [rev 39eb957] project, the WEB MVC creates an Application Conversion Service as explained in the reference manual http://static.springsource.org/sprin...ersion-service:

    Code:
    /**
     * A central place to register application converters and formatters. 
     */
    @RooConversionService
    public class ApplicationConversionServiceFactoryBean extends FormattingConversionServiceFactoryBean {
    
    	@Override
    	protected void installFormatters(FormatterRegistry registry) {
    		super.installFormatters(registry);
    		// Register application converters and formatters
    	}
    }
    However, the parent's method is deprecated in Spring 3.1:

    Code:
    @deprecated since Spring 3.1 in favor of {@link #setFormatterRegistrars(Set)}
    Since Roo 1.2 uses Spring 3.1, I think it would be better to use the appropriate method.

    Thanks.

  • #2
    You did post a JIRA?

    Comment


    • #3
      Nope, I didn't. Just in case it's fixed in the current development.

      Comment


      • #4
        I created a saved filter for last month (-4w 2d) at the JIRA to be able to quickly check up on things like that.
        Last edited by MiB; Jan 16th, 2012, 04:49 AM.

        Comment


        • #5
          Done: ROO-3020

          Comment

          Working...
          X