You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Wannheden, Knut" <kn...@paranor.ch> on 2002/11/26 17:13:48 UTC

[PATCH] [jelly] typo in org.apache.commons.jelly.JellyContext#Jel lyContext(JellyContext)

I suppose the code:

    public JellyContext(JellyContext parent) {
        this.parent = parent;
        this.rootURL = parent.rootURL;
        this.currentURL = parent.currentURL;
        this.variables.put("parentScope", parent.variables);
        this.cacheTags = cacheTags;
        init();
    }

should read:

    public JellyContext(JellyContext parent) {
        this.parent = parent;
        this.rootURL = parent.rootURL;
        this.currentURL = parent.currentURL;
        this.variables.put("parentScope", parent.variables);
        this.cacheTags = parent.cacheTags;
        init();          ^^^^^^^
    }

Patch attached as patch.txt

--
knut


Re: [PATCH] [jelly] typo in org.apache.commons.jelly.JellyContext#Jel lyContext(JellyContext)

Posted by di...@multitask.com.au.
Looks about right for me...
--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au


"Wannheden, Knut" <kn...@paranor.ch> wrote on 27/11/2002 03:13:48 
AM:

> I suppose the code: 
>     public JellyContext(JellyContext parent) { 
>         this.parent = parent; 
>         this.rootURL = parent.rootURL; 
>         this.currentURL = parent.currentURL; 
>         this.variables.put("parentScope", parent.variables); 
>         this.cacheTags = cacheTags; 
>         init(); 
>     } 
> should read: 
>     public JellyContext(JellyContext parent) { 
>         this.parent = parent; 
>         this.rootURL = parent.rootURL; 
>         this.currentURL = parent.currentURL; 
>         this.variables.put("parentScope", parent.variables); 
>         this.cacheTags = parent.cacheTags; 
>         init();          ^^^^^^^ 
>     } 
> Patch attached as patch.txt 
> -- 
> knut 
>   [attachment "patch.txt" deleted by dIon Gillard/Multitask 
Consulting/AU] --
> To unsubscribe, e-mail: 
<ma...@jakarta.apache.org>
> For additional commands, e-mail: 
<ma...@jakarta.apache.org>
> ForwardSourceID:NT000928C6 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>