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=16229>.
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=16229

Convenience methods to cut object allocations in application code





------- Additional Comments From [EMAIL PROTECTED]  2003-01-23 09:13 
-------
Hi,

Just a short remark about this discussion: although I completely agree with the 
comments of Jacob Kjome on 2003-01-18 00:15 and Linus Tolke on 2003-01-18 20:43 
about multiple buffer and concatenation when writing something like

   logger.debug("some string" + somevar + "another string" + anothervar);

I think the whole point of the proposition of Linus is to replace this call by 

   logger.debug("some string" , somevar , "another string" , anothervar);

(i.e. using comas instead of '+'). Otherwise, the proposed extension is NOT 
used!

I think this kind of call is clean and easy to write (easier than 
the 'concatenator' one). And the implementation is short and straigthforward 
too.

The only drawback I see (and this is also true with the concatenator option) is 
that all the parameters must be Object, so no int, boolean,...

cheers...

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to