on 5/31/01 10:23 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> jakarta-turbine/src/java/org/apache/turbine/services/resources/TurbineResource
> Service.java
> lines 480-493:
>   public ResourceService getResources(String prefix)
>   {
>       Configuration config = getConfiguration().subset(prefix);
>       
>       if (config == null)
>       {
>           return null;
>       }
>       
>       TurbineResourceService res = new TurbineResourceService();
>       res.init(config);
>       return (ResourceService)res;
>   }
> 
> This doesn't look like a singleton to me... :)

No, it looks like a bug, why don't you submit a patch?

Geez.

-jon

-- 
If you come from a Perl or PHP background, JSP is a way to take
your pain to new levels. --Anonymous
<http://jakarta.apache.org/velocity/ymtd/ymtd.html>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to