Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 67016 invoked from network); 23 Apr 2006 01:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Apr 2006 01:17:26 -0000 Received: (qmail 85486 invoked by uid 500); 23 Apr 2006 01:17:25 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 85418 invoked by uid 500); 23 Apr 2006 01:17:24 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 85407 invoked by uid 99); 23 Apr 2006 01:17:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Apr 2006 18:17:24 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 22 Apr 2006 18:17:24 -0700 Received: (qmail 66745 invoked by uid 65534); 23 Apr 2006 01:17:03 -0000 Message-ID: <20060423011703.66744.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r396190 - /cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java Date: Sun, 23 Apr 2006 01:17:03 -0000 To: cvs@cocoon.apache.org From: antonio@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: antonio Date: Sat Apr 22 18:17:00 2006 New Revision: 396190 URL: http://svn.apache.org/viewcvs?rev=396190&view=rev Log: Merge from branch 2.1. Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java?rev=396190&r1=396189&r2=396190&view=diff ============================================================================== --- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java (original) +++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/reading/ImageReader.java Sat Apr 22 18:17:00 2006 @@ -270,7 +270,7 @@ * for example) crashes the entire JVM (yes, dude, the bug is *that* nasty * since it happens in JPEG routines which are native!) * I'm perfectly aware of the huge memory problems that this causes (almost - * doubling memory consuption for each image and making the GC work twice + * doubling memory consumption for each image and making the GC work twice * as hard) but it's *far* better than restarting the JVM every 2 minutes * (since this is the average experience for image-intensive web application * such as an image gallery). @@ -365,6 +365,8 @@ */ public Serializable getKey() { return super.getKey().toString() + + ':' + this.fitUniform + + ':' + this.enlarge + ':' + this.width + ':' + this.height + ":" + this.scaleColor[0]