[ 
http://issues.apache.org/jira/browse/TUSCANY-6?page=comments#action_12369364 ] 

Jean-Sebastien Delfino commented on TUSCANY-6:
----------------------------------------------

I suggest we actually remove getAllResources() and change getResources() to do 
exactly what ClassLoader.getResources() does. I don't think that we need a 
method that searches the current class loader but not its parents anymore with 
our current packaging model.


> Method names in ResourceLoader are inconsistent with ClassLoader
> ----------------------------------------------------------------
>
>          Key: TUSCANY-6
>          URL: http://issues.apache.org/jira/browse/TUSCANY-6
>      Project: Tuscany
>         Type: Improvement
>   Components: Java SCA Common
>     Reporter: Jeremy Boynes

>
> The getResouces(String) method behaves differently to the similar method on 
> ClassLoader in that it only searches the current resource loader but not its 
> parents.
> I would suggest renaming:
> getAllResources(String) to getResources(String)
> and
> getResources(String) to getDeclaredResources(String)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to