Accumulo
  1. Accumulo
  2. ACCUMULO-836

Specify Charset on getBytes() call for String objects.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      The comments on ACCUMULO-241 indicate that the build server might have a different default Charset than computers used by developers. Therefore, some of the tests have different results on different computers.

      Every getBytes call on a String object should specify the UTF8 Charset. Unfortunately the codebase has nearly 1,800 getBytes calls.

      1. UTF8.java
        6 kB
        David Medinets

        Issue Links

          Activity

            People

            • Assignee:
              David Medinets
              Reporter:
              David Medinets
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development