Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-19545

Replace getBytes(StandardCharsets.UTF_8) with Bytes.toBytes

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.0, 2.0.0-beta-1
    • Fix Version/s: 1.4.1, 2.0.0-beta-2, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      On HBASE-19498 Michael Stack mentioned that Bytes.toBytes by default uses UTF_8 encoding so getBytes(StandardCharsets.UTF_8) can be simplified.

        Attachments

        1. HBASE-19545.branch-1.001.patch
          60 kB
          Peter Somogyi
        2. HBASE-19545.master.001.patch
          48 kB
          Peter Somogyi
        3. HBASE-19545.master.001.patch
          48 kB
          Peter Somogyi
        4. HBASE-19545.branch-1.002.patch
          60 kB
          Peter Somogyi
        5. HBASE-19545.master.002.patch
          48 kB
          Peter Somogyi

          Issue Links

            Activity

              People

              • Assignee:
                psomogyi Peter Somogyi
                Reporter:
                psomogyi Peter Somogyi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: