Return-Path: X-Original-To: apmail-incubator-vxquery-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-vxquery-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA351DB29 for ; Tue, 11 Sep 2012 06:44:20 +0000 (UTC) Received: (qmail 23846 invoked by uid 500); 11 Sep 2012 06:44:20 -0000 Delivered-To: apmail-incubator-vxquery-commits-archive@incubator.apache.org Received: (qmail 23834 invoked by uid 500); 11 Sep 2012 06:44:20 -0000 Mailing-List: contact vxquery-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: vxquery-dev@incubator.apache.org Delivered-To: mailing list vxquery-commits@incubator.apache.org Received: (qmail 23827 invoked by uid 99); 11 Sep 2012 06:44:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Sep 2012 06:44:20 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.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, 11 Sep 2012 06:44:19 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id B85352388980; Tue, 11 Sep 2012 06:43:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1383256 - /incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java Date: Tue, 11 Sep 2012 06:43:36 -0000 To: vxquery-commits@incubator.apache.org From: prestonc@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120911064336.B85352388980@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: prestonc Date: Tue Sep 11 06:43:36 2012 New Revision: 1383256 URL: http://svn.apache.org/viewvc?rev=1383256&view=rev Log: Removed rounding from the convert to long. Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java?rev=1383256&r1=1383255&r2=1383256&view=diff ============================================================================== --- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java (original) +++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/datamodel/accessors/atomic/XSDecimalPointable.java Tue Sep 11 06:43:36 2012 @@ -133,7 +133,7 @@ public class XSDecimalPointable extends } else { return getDecimalValue(bytes, start); } - + } public byte getDigitCount() { @@ -171,7 +171,7 @@ public class XSDecimalPointable extends @Override public long longValue() { - return getBeforeDecimalPlaceRounded(); + return getBeforeDecimalPlace(); } @Override