code: protected void restoreSystemStreams() {
          if (System.out == teeOut)
              System.setOut(systemOut.getOriginalStream());
          if (System.err == teeErr)
              System.setErr(systemErr.getOriginalStream());
      }
docs: Restore the system streams. The original streams are cached/remembered
  when the special trace components are created.