commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [COMPRESS] SevenZFile - fix debug so boxing is eliminated?
Date Tue, 14 May 2013 00:36:22 GMT
The private debug method requires an array of Objects to be passed to
System.out.format.

Any primitive parameters will be autoboxed.

However, the boxing will be performed regardless of whether DEBUG is
true or not.
This is a bit wasteful as DEBUG is false by default.

It may be better to inline the debug method calls.

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


Mime
View raw message