PR: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21021. Reduce object creation in ToStringBuilder. Applied the patch in spirit but not in detail since I used "BooleanUtils.toBooleanObject(fullDetail)" instead of "fullDetail ? Boolean.TRUE : Boolean.FALSE" to reduce code duplication.