Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901262

AsmTools should use PrintWriter, not PrintStream in its constructor

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • asm_tools_7.0
    • asm_tools_6.0
    • 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.

            lkuskov Leonid Kuskov
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: