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

Base64 static methods create instances of Base64; this is not documented

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      The Base64 static encode and decode methods create instances of the Base64 class internally.

      The class is documented as being thread-safe, so applications that need to re-use a particular Base64 configuration could avoid this extra object creation by creating their own specific instance and re-using it.

      This should probably be documented.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: