You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/08/22 23:57:37 UTC
DO NOT REPLY [Bug 20740] -
[PATCH - Updated] Map.debugPrint assume key is string.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20740>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20740
[PATCH - Updated] Map.debugPrint assume key is string.
apacheBugzilla@AMammenT.cotse.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[PATCH] Map.debugPrint |[PATCH - Updated]
|assume key is string. |Map.debugPrint assume key is
| |string.
------- Additional Comments From apacheBugzilla@AMammenT.cotse.net 2003-08-22 21:57 -------
The following attachment provides a patch of MapUtils which updates the
behaviour of debugPrint as before, but, this time, includes test cases to test
the expected output.
A short summary of changes:
1) debugPrintIndent method was renamed printIndent - it is used both for debug
printing and verbose printing. Likewise, debugIndent field was renamed
indentDepth. Further, a field INDENT_STRING was added (to capture the actual
WS string used for indenting) - these are refactoring/clarification changes
which do not affect output at all.
2) The "debug" nature of a print is now propagated to internal maps.
Previously, only the contents of the outermost map was printed in debug mode.
Any contained maps were printed in verbose mode.
3) The "debug" behaviour of a print was extended to maps - the classnames of
maps are now printed as part of the output (just like the classnames of map
contents are printed).