geirm 01/05/08 05:15:44
Modified: src/java/org/apache/velocity/io VelocityWriter.java
Log:
Small fix pointed out by daljeetsingh <[EMAIL PROTECTED]> that
symmetrizes the lifecycle API for VelocityWriter. Should have
no functional effect other than you can customize the Writer that you
can use with this.
Revision Changes Path
1.5 +3 -3
jakarta-velocity/src/java/org/apache/velocity/io/VelocityWriter.java
Index: VelocityWriter.java
===================================================================
RCS file:
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/io/VelocityWriter.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- VelocityWriter.java 2001/03/20 01:52:54 1.4
+++ VelocityWriter.java 2001/05/08 12:15:33 1.5
@@ -3,7 +3,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2001 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2001 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -65,7 +65,7 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Jason van Zyl</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Jon S. Stevens</a>
* @author Anil K. Vijendran
- * @version $Id: VelocityWriter.java,v 1.4 2001/03/20 01:52:54 jon Exp $
+ * @version $Id: VelocityWriter.java,v 1.5 2001/05/08 12:15:33 geirm Exp $
*/
public final class VelocityWriter extends Writer
{
@@ -362,7 +362,7 @@
* resets this class so that it can be reused
*
*/
- public final void recycle(OutputStreamWriter writer)
+ public final void recycle( Writer writer)
{
this.writer = writer;
flushed = false;