Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 79008 invoked from network); 20 Oct 2006 11:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 11:36:17 -0000 Received: (qmail 70041 invoked by uid 500); 20 Oct 2006 11:36:16 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 70015 invoked by uid 500); 20 Oct 2006 11:36:16 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 70004 invoked by uid 99); 20 Oct 2006 11:36:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:36:16 -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-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 04:36:16 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id A73DE1A981A; Fri, 20 Oct 2006 04:35:54 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r466070 - in /incubator/harmony/enhanced/classlib/trunk/modules/awt: build.xml src/main/java/common/java/awt/Dimension.java Date: Fri, 20 Oct 2006 11:35:54 -0000 To: harmony-commits@incubator.apache.org From: mloenko@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061020113554.A73DE1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: mloenko Date: Fri Oct 20 04:35:53 2006 New Revision: 466070 URL: http://svn.apache.org/viewvc?view=rev&rev=466070 Log: applied patch from HARMONY-1496 [classlib][awt] Dimension.setSize(double, double) rounding algorithm differs from RI Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Dimension.java Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml?view=diff&rev=466070&r1=466069&r2=466070 ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/awt/build.xml Fri Oct 20 04:35:53 2006 @@ -293,7 +293,6 @@ - Modified: incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Dimension.java URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Dimension.java?view=diff&rev=466070&r1=466069&r2=466070 ============================================================================== --- incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Dimension.java (original) +++ incubator/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/common/java/awt/Dimension.java Fri Oct 20 04:35:53 2006 @@ -83,7 +83,7 @@ @Override public void setSize(double width, double height) { - setSize((int)Math.round(width), (int)Math.round(height)); + setSize((int)Math.ceil(width), (int)Math.ceil(height)); } public Dimension getSize() {