incubator-vxquery-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prest...@apache.org
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 GMT
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



Mime
View raw message