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

prashantkumar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 3301a4a  fix method description (#2959)
3301a4a is described below

commit 3301a4acb18647522942ac52a88b7819c0f206df
Author: chenlin <[email protected]>
AuthorDate: Mon Jan 10 01:23:14 2022 +0800

    fix method description (#2959)
---
 .../src/main/java/org/apache/bookkeeper/util/DiskChecker.java       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DiskChecker.java 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DiskChecker.java
index e108b59..283af7e 100644
--- 
a/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DiskChecker.java
+++ 
b/bookkeeper-server/src/main/java/org/apache/bookkeeper/util/DiskChecker.java
@@ -177,7 +177,7 @@ public class DiskChecker {
      * Calculate the total amount of free space available
      * in all of the ledger directories put together.
      *
-     * @return totalDiskSpace in bytes
+     * @return freeDiskSpace in bytes
      * @throws IOException
      */
     public long getTotalFreeSpace(List<File> dirs) throws IOException {
@@ -193,10 +193,10 @@ public class DiskChecker {
     }
 
     /**
-     * Calculate the total amount of free space available
+     * Calculate the total amount of disk space
      * in all of the ledger directories put together.
      *
-     * @return freeDiskSpace in bytes
+     * @return totalDiskSpace in bytes
      * @throws IOException
      */
     public long getTotalDiskSpace(List<File> dirs) throws IOException {

Reply via email to