Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56694200CCB for ; Wed, 5 Jul 2017 17:39:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 54B5A163AC6; Wed, 5 Jul 2017 15:39:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9CB29163AC3 for ; Wed, 5 Jul 2017 17:39:05 +0200 (CEST) Received: (qmail 51856 invoked by uid 500); 5 Jul 2017 15:39:04 -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 51437 invoked by uid 99); 5 Jul 2017 15:39:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 15:39:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C83DFCA866 for ; Wed, 5 Jul 2017 15:39:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.71 X-Spam-Level: X-Spam-Status: No, score=-98.71 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_NUMSUBJECT=0.5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id FFxvzv_hbTyp for ; Wed, 5 Jul 2017 15:39:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8F5C75FBBB for ; Wed, 5 Jul 2017 15:39:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D11B8E0A75 for ; Wed, 5 Jul 2017 15:39:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3657A24629 for ; Wed, 5 Jul 2017 15:39:00 +0000 (UTC) Date: Wed, 5 Jul 2017 15:39:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COMPRESS-410) Remove ZipEncoding implementations introduced to work around problems in jdk 1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 05 Jul 2017 15:39:06 -0000 [ https://issues.apache.org/jira/browse/COMPRESS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16074958#comment-16074958 ] ASF GitHub Bot commented on COMPRESS-410: ----------------------------------------- Github user bodewig commented on the issue: https://github.com/apache/commons-compress/pull/37 Thanks a lot Simon, Please take a look at fde6670 - I've only performed some minor changes that I didn't feel like hackling you for. Things that may be a tiny bit more than just cosmetics: * I'm not sure why you went for the literal string `UTF-8` rather than the constant and `isUTF8` method in `ZipEncodingHelper`, I've changed that (kinda) back * I've removed the `assert` from `NioZipEncoding.encode` > Remove ZipEncoding implementations introduced to work around problems in jdk 1.4 > ---------------------------------------------------------------------------------- > > Key: COMPRESS-410 > URL: https://issues.apache.org/jira/browse/COMPRESS-410 > Project: Commons Compress > Issue Type: Improvement > Components: Archivers > Affects Versions: 1.14 > Reporter: Simon Spero > Priority: Minor > Fix For: 1.15 > > > There are several implementations of ZipEncoding that are provided to work around missing character sets in JDK 1.4. > Since commons-compress requires JDK7 or later, this code is no longer needed. As the classes are package private, they can be removed without affecting the API. -- This message was sent by Atlassian JIRA (v6.4.14#64029)