Removed unnessasary code

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

Branch: refs/heads/HIVEMALL-24-2
Commit: 36a6ca27a48de0e0a89bef352d0e2c23179091c8
Parents: deea39a
Author: Makoto Yui <[email protected]>
Authored: Mon Jul 24 16:58:33 2017 +0900
Committer: Makoto Yui <[email protected]>
Committed: Mon Jul 24 16:58:33 2017 +0900

----------------------------------------------------------------------
 core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hivemall/blob/36a6ca27/core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java 
b/core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java
index d814b40..10e7614 100644
--- a/core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java
+++ b/core/src/main/java/hivemall/ftvec/pairing/FeaturePairsUDTF.java
@@ -265,7 +265,6 @@ public final class FeaturePairsUDTF extends UDTFWithOptions 
{
             final Feature[] features = Feature.parseFFMFeatures(arg, fvOI, 
null, _numFeatures, _numFields);
 
             // W0
-            forward[0] = f0;
             f0.set(0);
             forward[1] = null;
             forward[2] = null;
@@ -279,7 +278,6 @@ public final class FeaturePairsUDTF extends UDTFWithOptions 
{
                 int iField = ei.getField();
 
                 // Wi
-                forward[0] = f0;
                 f0.set(i);
                 forward[1] = null;
                 f2.set(xi);

Reply via email to