diff --git a/src/java/org/apache/commons/lang/StringPrintWriter.java b/src/java/org/apache/commons/lang/StringPrintWriter.java index 9e0ffa22f..79751e740 100644 --- a/src/java/org/apache/commons/lang/StringPrintWriter.java +++ b/src/java/org/apache/commons/lang/StringPrintWriter.java @@ -69,8 +69,10 @@ import java.io.StringWriter; * * @author Alex Chaffee * @author Scott Stanchfield - **/ -public class StringPrintWriter extends PrintWriter { + * @since 2.0 + */ +class StringPrintWriter extends PrintWriter { + public StringPrintWriter() { super(new StringWriter()); } @@ -90,5 +92,6 @@ public class StringPrintWriter extends PrintWriter { flush(); return ((StringWriter) out).toString(); } + }