You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2007/02/13 11:18:05 UTC

[jira] Assigned: (COCOON-1984) o.a.c.environment.TemplateObjectModelHelper.ParametersMap does not override toString()

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

Carsten Ziegeler reassigned COCOON-1984:
----------------------------------------

    Assignee: Carsten Ziegeler

> o.a.c.environment.TemplateObjectModelHelper.ParametersMap does not override toString()
> --------------------------------------------------------------------------------------
>
>                 Key: COCOON-1984
>                 URL: https://issues.apache.org/jira/browse/COCOON-1984
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.2-dev (Current SVN)
>            Reporter: Mark Lundquist
>         Assigned To: Carsten Ziegeler
>            Priority: Minor
>
> ...and as a result, the object displays as empty, e.g. when debugging in Eclipse.  I added
>          public String toString() {
>         		return wrappedParameters.toString();
>         }
> and that fixed it.  Although, I am puzzled as to why this class both extends the Avalon Parameters class and is implemented using a delegate ('wrappedParameters') of that type.  Why is not extending Parameters enough?  The delegate seems like an unnecessary complication.

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