DataInputStream and DataOutputStream needs better name for method

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P4
    • None
    • Affects Version/s: 1.3.0
    • Component/s: core-libs
    • None
    • generic
    • generic

      The Data{Input, Output}Stream classes have these methods:
      writeUTF
      readUTF

      These would be more appropriately named:
      writeString
      readString

      These methods are cause confusion because some people are not sure if the UTF encoding is UTF-8 or something else. In fact, it is something else...a "modified" UTF-8. However, the fact that it is any UTF is irrelevant...it is really a String object.

            Assignee:
            Mark Reinhold
            Reporter:
            John Oconner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: