Bugs item #530297, was opened at 2002-03-15 14:11
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=530297&group_id=31602
Category: ejbdoclet
Group: cvs
Status: Open
>Resolution: Fixed
Priority: 5
Submitted By: Daniel Bratell (bratell)
>Assigned to: Aslak Helles�y (rinkrank)
Summary: Generated data.toString() needs space
Initial Comment:
The generated data object's toString method creates a
string that can be hard to read:
str.append("id=" + id + "message=" + message +
"state=" + state + "errorMessage=" + errorMessage +
"chartPos=" + chartPos + "buddies=" + buddies);
It would be nice with a space or a comma between the
entries.
----------------------------------------------------------------------
>Comment By: Vincent Harcq (vharcq)
Date: 2002-04-03 10:31
Message:
Logged In: YES
user_id=125677
I guess Aslak fixed this - secret boy ;)
----------------------------------------------------------------------
Comment By: Daniel Bratell (bratell)
Date: 2002-03-15 15:55
Message:
Logged In: YES
user_id=306784
That is not a problem. Since everything is appended in a
single line, there won't be any temporary String objects.
In a single statement stringbuffer.append is used all the
way. It's when it's split into several lines or in a loop
there are lots of unnecessary tempories created.
----------------------------------------------------------------------
Comment By: Aslak Helles�y (rinkrank)
Date: 2002-03-15 15:40
Message:
Logged In: YES
user_id=49846
it could be wise to replace all the +es with append() too.
it reduces string object creation and improves performance
aslak
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=530297&group_id=31602
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel