Remove unnecessary casts
------------------------

                 Key: STS-799
                 URL: http://www.stripesframework.org/jira/browse/STS-799
             Project: Stripes
          Issue Type: Improvement
    Affects Versions: Release 1.5.5
            Reporter: Ville Skyttä
            Priority: Trivial
         Attachments: casts.patch

The attached patch removes some unnecessary casts flagged by Eclipse's compiler.

Note that the comment about the cast in NumberTypeConverterSupport indicates 
that the cast is intentional, however it refers to replace(String regex, String 
replacement) which doesn't exist - the regex version is replaceAll(), not 
replace(), so the case against which the casts try to guard against seems 
nonexistent.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to