You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2023/03/24 04:21:11 UTC
[accumulo] branch 2.1 updated: Fix unused variable warning
This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 491497435d Fix unused variable warning
491497435d is described below
commit 491497435d57c609b10e60d089c211a742b48a09
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Mar 24 00:15:52 2023 -0400
Fix unused variable warning
As a follow-up to #3237, remove the now unused field
---
.../java/org/apache/accumulo/server/metadata/TabletMutatorBase.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/server/base/src/main/java/org/apache/accumulo/server/metadata/TabletMutatorBase.java b/server/base/src/main/java/org/apache/accumulo/server/metadata/TabletMutatorBase.java
index cc4db1371a..35bac3ab28 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/metadata/TabletMutatorBase.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/metadata/TabletMutatorBase.java
@@ -55,13 +55,11 @@ import com.google.common.base.Preconditions;
public abstract class TabletMutatorBase implements Ample.TabletMutator {
private final ServerContext context;
- private final KeyExtent extent;
private final Mutation mutation;
protected AutoCloseable closeAfterMutate;
private boolean updatesEnabled = true;
protected TabletMutatorBase(ServerContext context, KeyExtent extent) {
- this.extent = extent;
this.context = context;
mutation = new Mutation(extent.toMetaRow());
}