| Author | DaveJarvis <email> |
|---|---|
| Date | 2022-08-06 16:46:45 GMT-0700 |
| Commit | c112af01462e891f8e96522c3b6dc94d255e07e5 |
| Parent | 546591f |
| Delta | 0 lines added, 18 lines removed, 18-line decrease |
| -package com.keenwrite.io; | ||
| - | ||
| -import java.io.OutputStream; | ||
| -import java.io.PrintStream; | ||
| - | ||
| -/** | ||
| - * Responsible for silently discarding all data written to the stream. | ||
| - */ | ||
| -public final class SilentPrintStream extends PrintStream { | ||
| - | ||
| - private final static class SilentOutputStream extends OutputStream { | ||
| - public void write( final int b ) {} | ||
| - } | ||
| - | ||
| - public SilentPrintStream() { | ||
| - super( new SilentOutputStream() ); | ||
| - } | ||
| -} | ||