You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2009/12/08 00:22:18 UTC

[jira] Updated: (VELOCITY-745) Modify ClassMap.java to use getMethods() rather than get getDeclaredMethods()

     [ https://issues.apache.org/jira/browse/VELOCITY-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Bubna updated VELOCITY-745:
----------------------------------


If there were once reasons for doing it as it currently is done, i've been unable to think of them so far.  I'll aim to deal with this before any 1.7 release.  It ought to simplify things, and simply trying it is probably the best way to see if there's something i'm overlooking.

> Modify ClassMap.java to use getMethods() rather than get getDeclaredMethods()
> -----------------------------------------------------------------------------
>
>                 Key: VELOCITY-745
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-745
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 1.6.2
>         Environment: All
>            Reporter: Steve O'Hara
>            Priority: Minor
>
> The code that recurses up the super classes to find all public methods using getDeclaredMethods() is now redundant and can be replaced with a single call to getMethods() - this intrinsically provides all inherited public methods.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org