Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5491

[patch] new String("") or new String() is pointless, and just allocates memory needlessly - removed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.9.1.0
    • Component/s: Miscellaneous
    • Labels:
      None
    • Urgency:
      Low

      Description

      new String("::") is pointless, use "::"
      same with new String() vs ""

        Attachments

          Activity

            People

            • Assignee:
              dbrosius@apache.org Dave Brosius
              Reporter:
              dbrosius@apache.org Dave Brosius
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: