datastax/java-driver — pull request #111 by blair (2013-07-30 19:31:44+00:00)
Title: BuiltStatement#getQueryString() does less string copying.

By having BuiltStatement#buildQueryString() return the StringBuilder
that it was using to build the string, doing any additional work using
it is faster than working on the string it generates.

Doing unnecessary work in string concatenation is one of my pet peeves ;)