This is an automated email from the ASF dual-hosted git repository. edcoleman 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 323bbea #2049 Renamed method in SingletonManager (#2061) 323bbea is described below commit 323bbea9a48930a6aa39546dc7f15943a1574e60 Author: alimustafashah <syedmuhammadalimust...@gmail.com> AuthorDate: Fri Apr 30 19:02:49 2021 +0500 #2049 Renamed method in SingletonManager (#2061) * Fixed #2049 - Renamed method in SingletonManager --- .../main/java/org/apache/accumulo/core/singletons/SingletonManager.java | 2 +- .../java/org/apache/accumulo/core/singletons/SingletonReservation.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/org/apache/accumulo/core/singletons/SingletonManager.java b/core/src/main/java/org/apache/accumulo/core/singletons/SingletonManager.java index 336a5f0..bb32253 100644 --- a/core/src/main/java/org/apache/accumulo/core/singletons/SingletonManager.java +++ b/core/src/main/java/org/apache/accumulo/core/singletons/SingletonManager.java @@ -139,7 +139,7 @@ public class SingletonManager { return new SingletonReservation(); } - static synchronized void releaseRerservation() { + static synchronized void releaseReservation() { Preconditions.checkState(reservations > 0); reservations--; transition(); diff --git a/core/src/main/java/org/apache/accumulo/core/singletons/SingletonReservation.java b/core/src/main/java/org/apache/accumulo/core/singletons/SingletonReservation.java index 03a91e0..fdf1614 100644 --- a/core/src/main/java/org/apache/accumulo/core/singletons/SingletonReservation.java +++ b/core/src/main/java/org/apache/accumulo/core/singletons/SingletonReservation.java @@ -47,7 +47,7 @@ public class SingletonReservation implements AutoCloseable { // deregister cleanable, but it won't run because it checks // the value of closed first, which is now true cleanable.clean(); - SingletonManager.releaseRerservation(); + SingletonManager.releaseReservation(); } }