Remove redundant allocations from DoubleByteEncoder

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 20
    • Affects Version/s: None
    • Component/s: client-libs
    • 2d
    • b11

      There are couple places where new byte array is allocated and then thrown away.

          byte[] outputBytes = new byte[2];
          outputBytes = encodeSurrogate(c, c2);

            Assignee:
            Andrey Turbanov
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: