Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-292

Don't create un-needed resources in FileUploadBase.java

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.4
    • Labels:
      None

      Description

      When creating a FileItemStreamImpl we are creating an object even when fileSizeMax == -1 which allocates unneeded objects that will need to be garbage collected later.

        Attachments

          Activity

            People

            • Assignee:
              chtompki Rob Tompkins
              Reporter:
              chtompki Rob Tompkins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: