fix ParameterFacade getterName
------------------------------

         Key: UMLMETA-43
         URL: http://jira.andromda.org/browse/UMLMETA-43
     Project: UML Metafacades
        Type: Improvement
    Versions: 3.1M1    
    Reporter: Wouter Zoons
 Assigned to: Chad Brandon 


fix this piece of code:

    /**
     * @see org.andromda.metafacades.uml.ParameterFacade#getGetterName()
     */
    protected java.lang.String handleGetGetterName()
    {
        // BPM-200: only actual boolean types can have the 'is' prefix, we must 
not make
        // use of the dynamic mappings since we need to test for the real java 
type here
        final String typeName = this.getType() != null ? 
this.getType().getFullyQualifiedName() : null;
        final String prefix = "boolean".equals(typeName) ? "is" : "get";
        return prefix + StringUtilsHelper.capitalize(this.getName());
    }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to