diff options
author | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-12-03 15:33:31 -0800 |
---|---|---|
committer | Jon Bratseth <bratseth@yahoo-inc.com> | 2016-12-03 15:33:31 -0800 |
commit | 63ab72220f5ec6831cc9567949abe05b8056caef (patch) | |
tree | 85c56a49aa7cdf987e4973fa2a709c54e5145482 /vespajlib/src/main/java/com/yahoo/tensor/serialization | |
parent | 328b9da010a66558c8d4078df9d0d248d82c5ee9 (diff) |
Rename method
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); } |