diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-22 00:33:12 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-04-22 11:31:01 +0200 |
commit | 9e7180cb7a2ef747bb72560097fedbdb8f5f08f1 (patch) | |
tree | 08d0af8ee2f777b6a7baa235bff4ef54d3a87945 /document | |
parent | 6a61110fef80bebfdd7fe7725005a6560974b22d (diff) |
Change interface from Mirror.Entry[] to List<Mirror.Entry> as you already have a list.
Avoid having to do an array copy that is not necessary.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/main/java/com/yahoo/document/datatypes/FieldValue.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/document/src/main/java/com/yahoo/document/datatypes/FieldValue.java b/document/src/main/java/com/yahoo/document/datatypes/FieldValue.java index f895ad21b0a..287af5c34b9 100644 --- a/document/src/main/java/com/yahoo/document/datatypes/FieldValue.java +++ b/document/src/main/java/com/yahoo/document/datatypes/FieldValue.java @@ -5,14 +5,17 @@ import com.yahoo.document.ArrayDataType; import com.yahoo.document.DataType; import com.yahoo.document.Field; import com.yahoo.document.FieldPath; -import com.yahoo.document.serialization.*; +import com.yahoo.document.serialization.DocumentSerializer; +import com.yahoo.document.serialization.DocumentSerializerFactory; +import com.yahoo.document.serialization.FieldReader; +import com.yahoo.document.serialization.FieldWriter; +import com.yahoo.document.serialization.XmlStream; import com.yahoo.io.GrowableByteBuffer; import com.yahoo.vespa.objects.BufferSerializer; import com.yahoo.vespa.objects.Deserializer; import com.yahoo.vespa.objects.Identifiable; import com.yahoo.vespa.objects.Ids; import com.yahoo.vespa.objects.Serializer; -import com.yahoo.document.config.DocumentmanagerConfig.Datatype.Structtype.Compresstype; /** * @author Einar M R Rosenvinge |