Cleanup new Boolean and single character strings

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • b22
    • generic

      Two cleanups for classes in the client repo.

      The Boolean class has cache for true and false and using it, will save
      memory and will faster than using create new instance of Boolean.

      When a String has length just one, could be replaced by equivalent
      character literals, gaining some performance enhancement.

            Assignee:
            Roger Riggs
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: