| Commit in servicemix/base/src/main/java/org/servicemix/jbi/jaxp on MAIN | |||
| StringSource.java | +5 | -1 | 1.1 -> 1.2 |
Add a toString method to the StringSource
servicemix/base/src/main/java/org/servicemix/jbi/jaxp
diff -u -r1.1 -r1.2 --- StringSource.java 16 Jun 2005 10:54:27 -0000 1.1 +++ StringSource.java 6 Oct 2005 07:29:08 -0000 1.2 @@ -28,7 +28,7 @@
* A helper class which provides a JAXP [EMAIL PROTECTED] Source} from a String * which can be read as many times as required. *
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class StringSource extends StreamSource {
private String text;
@@ -48,6 +48,10 @@
public Reader getReader() {
return new StringReader(text);
+ }
+
+ public String toString() {
+ return "StringSource[" + text + "]";
} }
