diff options
Diffstat (limited to 'core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java')
-rw-r--r-- | core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java b/core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java index cf127e5b96..16497533e2 100644 --- a/core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java +++ b/core/src/main/java/org/elasticsearch/common/io/stream/Writeable.java @@ -24,8 +24,7 @@ import java.io.IOException; /** * Implementers can be written to a {@linkplain StreamOutput} and read from a {@linkplain StreamInput}. This allows them to be "thrown * across the wire" using Elasticsearch's internal protocol. If the implementer also implements equals and hashCode then a copy made by - * serializing and deserializing must be equal and have the same hashCode. It isn't required that such a copy be entirely unchanged. For - * example, {@link org.elasticsearch.common.unit.TimeValue} converts the time to nanoseconds for serialization. + * serializing and deserializing must be equal and have the same hashCode. It isn't required that such a copy be entirely unchanged. * * Prefer implementing this interface over implementing {@link Streamable} where possible. Lots of code depends on {@linkplain Streamable} * so this isn't always possible. |