Results 1 to 5 of 5

Thread: Roo 1.2 mvc ApplicationConversionServiceFactoryBean uses deprecated installFormatters

  1. #1
    Join Date
    May 2006
    Location
    Madrid
    Posts
    382

    Default 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. #2
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    You did post a JIRA?

  3. #3
    Join Date
    May 2006
    Location
    Madrid
    Posts
    382

    Default

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

  4. #4
    Join Date
    Aug 2010
    Location
    Goteborg, Sweden
    Posts
    434

    Default

    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 at 04:49 AM.

  5. #5
    Join Date
    May 2006
    Location
    Madrid
    Posts
    382

    Default

    Done: ROO-3020

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •