From 1a99abf1cfed6a6fff901d3b2e54068ce84192f6 Mon Sep 17 00:00:00 2001 From: Stephen Colebourne Date: Wed, 13 Aug 2003 23:48:19 +0000 Subject: [PATCH] Added @since tags bug 22286, from Phil Steitz Changed from public to package scope git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137588 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/StringPrintWriter.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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(); } + }