diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-12-04 17:09:38 -0800 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-12-04 17:09:38 -0800 |
commit | 9540f549d5a530d043c4775e67856530b7c9e2be (patch) | |
tree | 715044349e788c513cba6c1e229c718c32892177 /vespajlib/src/main/java/com/yahoo/tensor/serialization | |
parent | c3689bfbf40620b7adb8f057c38d087e3dcc0a15 (diff) |
elements -> labels
Diffstat (limited to 'vespajlib/src/main/java/com/yahoo/tensor/serialization')
-rw-r--r-- | vespajlib/src/main/java/com/yahoo/tensor/serialization/SparseBinaryFormat.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/tensor/serialization/SparseBinaryFormat.java b/vespajlib/src/main/java/com/yahoo/tensor/serialization/SparseBinaryFormat.java index 967c05f0878..b707802c55f 100644 --- a/vespajlib/src/main/java/com/yahoo/tensor/serialization/SparseBinaryFormat.java +++ b/vespajlib/src/main/java/com/yahoo/tensor/serialization/SparseBinaryFormat.java @@ -2,7 +2,6 @@ package com.yahoo.tensor.serialization; import com.google.common.annotations.Beta; -import com.google.common.collect.Sets; import com.yahoo.io.GrowableByteBuffer; import com.yahoo.tensor.MapTensorBuilder; import com.yahoo.tensor.Tensor; @@ -50,7 +49,7 @@ class SparseBinaryFormat implements BinaryFormat { } private static void encodeAddress(GrowableByteBuffer buffer, TensorAddress address) { - for (String label : address.elements()) + for (String label : address.labels()) encodeString(buffer, label); } |