Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-214

[PATCH] reduce object creation in ToStringBuilder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • None
    • Operating System: All
      Platform: All

    • 21021

    Description

      This patch replaces 10 occurences of 'new Boolean (fullDetail)' with 'fullDetail
      ? Boolean.TRUE : Boolean.FALSE'.

      The benefit of this patch is a reduction in the number of objects created when
      using ToStringBuilder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            janekdb@yahoo.co.uk Janek Bogucki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: