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 2005/08/05 04:23:40 UTC

DO NOT REPLY [Bug 36035] New: - BeanWriter configurable initial indent

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36035

           Summary: BeanWriter configurable initial indent
           Product: Commons
           Version: Nightly Builds
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Betwixt
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: xela.org@gmail.com


I've made a patch for this.

And I've made the initial indent to ZERO by default, which made some
test case fails because of this. But I think most people like this
default and it won't cause problem in real world.

Please check. Thanks.

On 8/3/05, robert burrell donkin wrote:
> On Wed, 2005-08-03 at 02:06 +0800, Alex Ieong wrote:
> > Hello everybody,
> >
> > In org.apache.commons.betwixt.io.BeanWriter, I am wondering why the
> > indentLevel starts at 1 with the first element. It makes the root
> > element has indent too, which is ugly.
> >
> > Am I wrong or it has some purpose?
>
> if it had some purpose, it is lost in the depths of time...
>
> why not contribute a patch to apache that allows this value to be
> configured?
>
> - robert

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org