You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2012/08/23 02:35:20 UTC

svn commit: r1376333 - /incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java

Author: prestonc
Date: Thu Aug 23 00:35:19 2012
New Revision: 1376333

URL: http://svn.apache.org/viewvc?rev=1376333&view=rev
Log:
Clean up naming.

Modified:
    incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java

Modified: incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java
URL: http://svn.apache.org/viewvc/incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java?rev=1376333&r1=1376332&r2=1376333&view=diff
==============================================================================
--- incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java (original)
+++ incubator/vxquery/trunk/vxquery/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/arithmetic/AbstractArithmeticScalarEvaluatorFactory.java Thu Aug 23 00:35:19 2012
@@ -475,7 +475,7 @@ public abstract class AbstractArithmetic
                 throw new SystemException(ErrorCode.XPTY0004);
             }
 
-            private void getIntegerPointable(TypedPointables tp, TaggedValuePointable tvp, DataOutput dOutInteger)
+            private void getIntegerPointable(TypedPointables tp, TaggedValuePointable tvp, DataOutput dOut)
                     throws SystemException, IOException {
                 long value;
                 switch (tvp.getTag()) {
@@ -511,8 +511,8 @@ public abstract class AbstractArithmetic
                     default:
                         value = 0;
                 }
-                dOutInteger.write(ValueTag.XS_INTEGER_TAG);
-                dOutInteger.writeLong(value);
+                dOut.write(ValueTag.XS_INTEGER_TAG);
+                dOut.writeLong(value);
             }
 
             private int getBaseTypeForArithmetics(int tid) throws SystemException {