This is an automated email from the ASF dual-hosted git repository.

edcoleman 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 33b889a98e Trivial javadoc update in 
SimpleGarbageCollector.isSafeMode. (#4174)
33b889a98e is described below

commit 33b889a98ecc379ae3f5cab03083ad29ecada4b8
Author: EdColeman <d...@etcoleman.com>
AuthorDate: Fri Jan 19 12:26:22 2024 -0500

    Trivial javadoc update in SimpleGarbageCollector.isSafeMode. (#4174)
    
    * trivial javadoc update return type for inSafeMode method
---
 .../gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java 
b/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
index 0c22c4b50a..6e186e2157 100644
--- a/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
+++ b/server/gc/src/main/java/org/apache/accumulo/gc/SimpleGarbageCollector.java
@@ -143,7 +143,7 @@ public class SimpleGarbageCollector extends AbstractServer 
implements Iface {
   /**
    * Checks if safemode is set - files will not be deleted.
    *
-   * @return number of delete threads
+   * @return true if safe mode is set, false otherwise
    */
   boolean inSafeMode() {
     return getConfiguration().getBoolean(Property.GC_SAFEMODE);

Reply via email to