You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by mm...@apache.org on 2022/06/16 10:35:52 UTC
[accumulo] branch main updated: Make ByteSequence Serializable (#2779)
This is an automated email from the ASF dual-hosted git repository.
mmiller pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 607003f3f1 Make ByteSequence Serializable (#2779)
607003f3f1 is described below
commit 607003f3f1c44c81bf98a83615349fb2130c4327
Author: Mike Miller <mm...@apache.org>
AuthorDate: Thu Jun 16 10:35:45 2022 +0000
Make ByteSequence Serializable (#2779)
---
core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java b/core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java
index f98d9ce89b..2d1e467a1a 100644
--- a/core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java
+++ b/core/src/main/java/org/apache/accumulo/core/data/ByteSequence.java
@@ -18,12 +18,16 @@
*/
package org.apache.accumulo.core.data;
+import java.io.Serializable;
+
import org.apache.hadoop.io.WritableComparator;
/**
* A sequence of bytes.
*/
-public abstract class ByteSequence implements Comparable<ByteSequence> {
+public abstract class ByteSequence implements Comparable<ByteSequence>, Serializable {
+
+ private static final long serialVersionUID = 1L;
/**
* Gets a byte within this sequence.