Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-145

Base64.encodeBase64String could better use newStringUsAscii

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.11

    Description

      org.apache.commons.codec.binary.Base64.encodeBase64String currently uses StringUtils.newStringUtf8. But the text should be in fact be in ASCII, so newStringUsAscii would be clearer and perhaps faster.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jglick@netbeans.org Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: