Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-128

Should close() methods check for System.in before calling close?

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: None

      Description

      The BZip2CompressorInput close method checks whether the input is equal to System.in and skips the close call if so.

      Should this be applied to all the ArchiveInput classes as well?

      Probably does no harm.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: