Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1148

use StandardCharsets.UTF_8 in doc

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3
    • Component/s: Documentation
    • Labels:
      None

      Description

      In the doc, the use of PlainTextByLineStream() is not unified. Other than specifying StandardCharsets.UTF_8 for its second parameter, there are following variations:

      • String "UTF-8"
      • StandardCharsets.UTF8 (not UTF_8)
      • Charset.forName("UTF-8")

      Let's unify the use to StandardCharsets.UTF_8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                koji Koji Sekiguchi
                Reporter:
                koji Koji Sekiguchi
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: