#10 Write logger calls to lazy concatenate strings

open
nobody
None
5
2012-10-08
2010-03-17
Egon Willighagen
No

Instead of calling the logger like:

logger.debug("\n" + paths.size() + " paths and " + ac.getAtomCount() + " atoms left.");

the Strings should be passed as separate parameters:

logger.debug("\n", paths.size(), " paths and ", ac.getAtomCount(), " atoms left.");

Discussion