Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C134DDC6B for ; Sun, 2 Sep 2012 20:18:24 +0000 (UTC) Received: (qmail 76973 invoked by uid 500); 2 Sep 2012 20:18:24 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 76868 invoked by uid 500); 2 Sep 2012 20:18:24 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 76858 invoked by uid 99); 2 Sep 2012 20:18:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2012 20:18:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of garydgregory@gmail.com designates 209.85.210.43 as permitted sender) Received: from [209.85.210.43] (HELO mail-pz0-f43.google.com) (209.85.210.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Sep 2012 20:18:19 +0000 Received: by daku36 with SMTP id u36so3750039dak.30 for ; Sun, 02 Sep 2012 13:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :content-type; bh=BRLwoB3vZzIrBZMf6SEe2VoKnfiReltb3hpSXWByTsA=; b=0jjy2UuLLC4WHy+ScFhAXuXzIh6QAXGOGMhMFwqeMCwL5Z6Rps+7BR9S1Z+1GYsyfU I+CBTrcSK+KBdq65pIIZtJhlZhdsTJDjtZvXBPoKjzuf/pBuzaKo93iKc7f5RLH3ryjV GLqXsyiM34YbxSgfbbDiV5zF8+1mcKwC0iIRJL4et45NOHqK4HyIwT23shzj3mNCRZzn Aedk4kdDATMSm9RJia/LLvGIkPtYEgNzZxSQeSxtYvwhpaPD2MVb82ZJxAm/f+PaqNby jvjBJhSgywRoVYKRaEJcFWvdX0cA3JrRKdlL7gdydwh7UgedcEdJr8yOrmN+5sHb928K nV5A== Received: by 10.66.83.129 with SMTP id q1mr29495802pay.4.1346617079017; Sun, 02 Sep 2012 13:17:59 -0700 (PDT) References: From: Gary Gregory In-Reply-To: Mime-Version: 1.0 (1.0) Date: Sun, 2 Sep 2012 16:17:55 -0400 Message-ID: <-3726659023867021395@unknownmsgid> Subject: Re: [codec] Getting ready for an RC To: Commons Developers List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org On Sep 2, 2012, at 15:51, sebb wrote: > On 2 September 2012 19:45, Gary Gregory wrote: >> Hi All: >> >> There has been a recent mini-flury of changes in codec as a release >> candidate is approaching. >> >> Thank you to all the committers and patchers for helping codec move closer >> to another release. >> >> This coming week or next weekend, I'd like to roll an RC. >> >> Does anyone want to discuss anything or fiddle with code before I proceed? > > DigestUtils shaHex methods have been deprecated in favour of sha1Hex; > as such I would expect the shaHex implementations to delegate to sha1. > Instead they have their own implementations; it is only by comparison > with the sha1 versions that one can see they are the same. > It is not clear to me that calling DigestMessage with "SHA" and "SHA-1" does the same thing because different objects are returned, likely because neither are cached. Because "SHA" is not an official name I did not want to take the risk. If both names are aliases, then we can and should redirect one to the other. > [If this is done, could then consider dropping the shaHex test case.] > > Also, why is getShaDigest not deprecated in favour of getSha1Digest? It should be. That's an omission. Gary > > Still looking at the rest of the code. > >> Thank you, >> Gary >> >> -- >> E-Mail: garydgregory@gmail.com | ggregory@apache.org >> JUnit in Action, 2nd Ed: http://bit.ly/ECvg0 >> Spring Batch in Action: http://bit.ly/bqpbCK >> Blog: http://garygregory.wordpress.com >> Home: http://garygregory.com/ >> Tweet! http://twitter.com/GaryGregory > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org