Description
The attached patch changes then return type of ExprNode#printToBuffer from void to StringBuffer. I did this so that expr.printToBuffer could be used inline with other StringBuffer operations, like all the other StringBuffer methods.
Example:
StringBuffer buffer = expr.printToBuffer(new StringBuffer("The filter is: ")).append(", some other text");