You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by dl...@apache.org on 2022/10/12 19:02:21 UTC
[accumulo] branch main updated: Make ConstraintViolationSummary implement Serializable (#3020)
This is an automated email from the ASF dual-hosted git repository.
dlmarion 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 53bdb71c9f Make ConstraintViolationSummary implement Serializable (#3020)
53bdb71c9f is described below
commit 53bdb71c9f59739bb3ccfb3744d86c717e2b6e66
Author: Dave Marion <dl...@apache.org>
AuthorDate: Wed Oct 12 15:02:15 2022 -0400
Make ConstraintViolationSummary implement Serializable (#3020)
Closes #3016
---
.../org/apache/accumulo/core/data/ConstraintViolationSummary.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/core/src/main/java/org/apache/accumulo/core/data/ConstraintViolationSummary.java b/core/src/main/java/org/apache/accumulo/core/data/ConstraintViolationSummary.java
index 7ad28f70d9..639b077752 100644
--- a/core/src/main/java/org/apache/accumulo/core/data/ConstraintViolationSummary.java
+++ b/core/src/main/java/org/apache/accumulo/core/data/ConstraintViolationSummary.java
@@ -18,13 +18,16 @@
*/
package org.apache.accumulo.core.data;
+import java.io.Serializable;
+
import org.apache.accumulo.core.dataImpl.thrift.TConstraintViolationSummary;
/**
* A summary of constraint violations across some number of mutations.
*/
-public class ConstraintViolationSummary {
+public class ConstraintViolationSummary implements Serializable {
+ private static final long serialVersionUID = 1L;
public String constrainClass;
public short violationCode;
public String violationDescription;