Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 57998 invoked from network); 4 Mar 2010 14:32:00 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Mar 2010 14:32:00 -0000 Received: (qmail 85514 invoked by uid 500); 4 Mar 2010 14:31:49 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 85456 invoked by uid 500); 4 Mar 2010 14:31:49 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 85448 invoked by uid 99); 4 Mar 2010 14:31:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:31:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Mar 2010 14:31:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 37BB9234C4C8 for ; Thu, 4 Mar 2010 14:31:27 +0000 (UTC) Message-ID: <1221298678.69841267713087227.JavaMail.jira@brutus.apache.org> Date: Thu, 4 Mar 2010 14:31:27 +0000 (UTC) From: "Dmitry Katsubo (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (COMPRESS-97) CompressorStreamFactory should support stream auto-detection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org CompressorStreamFactory should support stream auto-detection ------------------------------------------------------------ Key: COMPRESS-97 URL: https://issues.apache.org/jira/browse/COMPRESS-97 Project: Commons Compress Issue Type: Improvement Affects Versions: 1.0 Reporter: Dmitry Katsubo I propose to add bzip2/gzip input stream detection to CompressorStreamFactory based on magic numbers (the same way it is done for ArchiveStreamFactory). Also "bzip2" and "gz" constants should be declared as "public static final String" constants to be referred by constant name (not ugly value). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.