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 2014/01/31 08:21:24 UTC

[08/13] git commit: Removed unnecessary pointable.

Removed unnecessary pointable.


Project: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/commit/ec76076d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/tree/ec76076d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-vxquery/diff/ec76076d

Branch: refs/heads/prestonc/benchmarks
Commit: ec76076d32c21a8b493a1d317fce595f90ad7ab2
Parents: 4305786
Author: Preston Carman <pr...@apache.org>
Authored: Thu Jan 30 14:10:17 2014 -0800
Committer: Preston Carman <pr...@apache.org>
Committed: Thu Jan 30 14:10:17 2014 -0800

----------------------------------------------------------------------
 .../runtime/functions/step/AttributePathStepScalarEvaluator.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-vxquery/blob/ec76076d/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/step/AttributePathStepScalarEvaluator.java
----------------------------------------------------------------------
diff --git a/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/step/AttributePathStepScalarEvaluator.java b/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/step/AttributePathStepScalarEvaluator.java
index 303cd6f..30b50e4 100644
--- a/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/step/AttributePathStepScalarEvaluator.java
+++ b/vxquery-core/src/main/java/org/apache/vxquery/runtime/functions/step/AttributePathStepScalarEvaluator.java
@@ -49,8 +49,6 @@ public class AttributePathStepScalarEvaluator extends AbstractSinglePathStepScal
                     return;
                 }
         }
-        TaggedValuePointable seqTvp = (TaggedValuePointable) TaggedValuePointable.FACTORY.createPointable();
-        XDMConstants.setEmptySequence(seqTvp);
-        seqTvp.getValue(seqp);
+        XDMConstants.setEmptySequence(seqp);
     }
 }
\ No newline at end of file