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

Replace getBytes(StandardCharsets.UTF_8) with Bytes.toBytes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0, 2.0.0-beta-1
    • 1.4.1, 2.0.0-beta-2, 2.0.0
    • None
    • None
    • Reviewed

    Description

      On HBASE-19498 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

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

              Dates

                Created:
                Updated:
                Resolved: