jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Schumacher <felix.schumac...@internetallee.de>
Subject StringBuilder against compile time String concatenation
Date Sun, 28 Dec 2014 12:34:48 GMT
Hi all,

in XPathUtil I have found the following code fragment:

   log.debug(new 
StringBuilder("bla").append(blub).append("whatever").toString())

which seems to me t be equivallent to

   log.debug("bla"+blubb+"whatever")

any reason to use the former?

Regards
  Felix

Mime
View raw message