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

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: