AsmTools should use PrintWriter, not PrintStream in its constructor

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • asm_tools_7.0
    • Affects Version/s: asm_tools_6.0
    • Component/s: tools
    • None
    • b06

      In general, tools writing text should use Writers, not OutputStreams. So it would be better if the constructors for the various asmtools tools used PrintWriter instead of PrintStream.

      Note that it is relatively easy/efficient to make a Writer from a Stream (use OutputStreamWriter). It is more tedious/inefficient to go the other way.

            Assignee:
            Leonid Kuskov
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: