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
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.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira