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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • 2.0
    • 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

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

            Dates

              Created:
              Updated: