Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 58668 invoked from network); 6 Oct 2009 20:32:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 20:32:54 -0000 Received: (qmail 71430 invoked by uid 500); 6 Oct 2009 20:32:54 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 71407 invoked by uid 500); 6 Oct 2009 20:32:54 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 71398 invoked by uid 99); 6 Oct 2009 20:32:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 20:32:54 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 20:32:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A74CA238897D; Tue, 6 Oct 2009 20:32:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r822484 - /harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java Date: Tue, 06 Oct 2009 20:32:30 -0000 To: commits@harmony.apache.org From: tellison@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091006203230.A74CA238897D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: tellison Date: Tue Oct 6 20:32:30 2009 New Revision: 822484 URL: http://svn.apache.org/viewvc?rev=822484&view=rev Log: Implement hashCode to compliment the equals method. Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java Modified: harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java?rev=822484&r1=822483&r2=822484&view=diff ============================================================================== --- harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java (original) +++ harmony/enhanced/classlib/trunk/modules/imageio/src/main/java/javax/imageio/ImageTypeSpecifier.java Tue Oct 6 20:32:30 2009 @@ -174,4 +174,9 @@ } return rt; } + + @Override + public int hashCode() { + return colorModel.hashCode() + sampleModel.hashCode(); + } } \ No newline at end of file