Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2148

Remove redundant code in CreateBucketHandler.java

    XMLWordPrintableJSON

Details

    Description

      if (isVerbose()) {
            System.out.printf("Volume Name : %s%n", volumeName);
            System.out.printf("Bucket Name : %s%n", bucketName);
            if (bekName != null) {
              bb.setBucketEncryptionKey(bekName);
              System.out.printf("Bucket Encryption enabled with Key Name: %s%n",
                  bekName);
            }
          }
      

      This jira aims to remove the redundant line bb.setBucketEncryptionKey(bekName); as the same operation is performed in the preceding code block. This code block is to print additional details if verbose option was specified.

      Attachments

        Issue Links

          Activity

            People

              dineshchitlangia Dinesh Chitlangia
              dineshchitlangia Dinesh Chitlangia
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m