Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5422

Avoid eager string formatting in preconditions

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Target Version/s:

      Description

      Some calls to Preconditions.check... eagerly format the error message, resulting in unnecessary allocations.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adoroszlai Attila Doroszlai
                Reporter:
                adoroszlai Attila Doroszlai
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: