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 9afab2c Made private fields in Violations.CVSKey final (#2036)
9afab2c is described below
commit 9afab2c1b931d100ed6bad5cfe028c28da944427
Author: alimustafashah <[email protected]>
AuthorDate: Tue Apr 27 18:08:12 2021 +0500
Made private fields in Violations.CVSKey final (#2036)
* Closes #2033
---
.../main/java/org/apache/accumulo/core/constraints/Violations.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/core/src/main/java/org/apache/accumulo/core/constraints/Violations.java
b/core/src/main/java/org/apache/accumulo/core/constraints/Violations.java
index 4e8dc5b..821de1e 100644
--- a/core/src/main/java/org/apache/accumulo/core/constraints/Violations.java
+++ b/core/src/main/java/org/apache/accumulo/core/constraints/Violations.java
@@ -34,8 +34,8 @@ import
org.apache.accumulo.core.data.ConstraintViolationSummary;
public class Violations {
private static class CVSKey {
- private String className;
- private short vcode;
+ final private String className;
+ final private short vcode;
CVSKey(ConstraintViolationSummary cvs) {
this.className = cvs.constrainClass;