Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-4046 Use modernizer-maven-plugin
  3. ACCUMULO-4131

Use static imports for UTF_8 when possible

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.5, 1.7.1, 1.8.0
    • Component/s: build
    • Labels:
      None

      Description

      To limit the impact of changing Java versions, and modernizing code, we should use static imports for UTF_8 Charset. In 1.6 branch, if guava is not a dependency, a private static final constant could be used with Charset.forName("UTF-8").

      This will ensure usages of UTF_8 will merge more easily between branches and replacing outdated means of referencing UTF_8 charset.

        Attachments

          Activity

            People

            • Assignee:
              ctubbsii Christopher Tubbs
              Reporter:
              ctubbsii Christopher Tubbs
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 50m
                50m