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

rakeshr pushed a commit to branch HDDS-2939
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/HDDS-2939 by this push:
     new 23352f8  HDDS-5320. [FSO] Fix minor checkstyle warnings (#2313)
23352f8 is described below

commit 23352f818e74b1e59b48ec63adce28cb87c1603c
Author: Rakesh Radhakrishnan <[email protected]>
AuthorDate: Tue Jun 8 21:33:09 2021 +0530

    HDDS-5320. [FSO] Fix minor checkstyle warnings (#2313)
---
 .../src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
index bcb0ccf..2ed54f2 100644
--- 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
+++ 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java
@@ -2190,7 +2190,7 @@ public class KeyManagerImpl implements KeyManager {
     if (OzoneManagerRatisUtils.isBucketFSOptimized()) {
       fileStatus = getOzoneFileStatusFSO(volumeName, bucketName, keyName,
               args.getSortDatanodes(), clientAddress,
-              args.getLatestVersionLocation(),false);
+              args.getLatestVersionLocation(), false);
     } else {
       fileStatus = getOzoneFileStatus(volumeName, bucketName,
               keyName, args.getRefreshPipeline(), args.getSortDatanodes(),
@@ -2556,7 +2556,7 @@ public class KeyManagerImpl implements KeyManager {
 
         OzoneFileStatus fileStatusInfo = getOzoneFileStatusFSO(volumeName,
                 bucketName, startKey, false, null,
-                args.getLatestVersionLocation(),true);
+                args.getLatestVersionLocation(), true);
 
         if (fileStatusInfo != null) {
           prefixKeyInDB = fileStatusInfo.getKeyInfo().getParentObjectID();
@@ -2990,7 +2990,7 @@ public class KeyManagerImpl implements KeyManager {
           continue;
         }
         keyInfo.setKeyLocationVersions(keyInfo.getKeyLocationVersions()
-                .subList(keyLocationVersionLength - 1, 
keyLocationVersionLength));
+            .subList(keyLocationVersionLength - 1, keyLocationVersionLength));
       }
     }
   }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to