scolebourne 2004/08/13 16:39:46
Modified: io/src/test/org/apache/commons/io/testtools
YellOnFlushAndCloseOutputStream.java
Log:
Add ability to turn yell off
Revision Changes Path
1.4 +5 -0
jakarta-commons/io/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java
Index: YellOnFlushAndCloseOutputStream.java
===================================================================
RCS file:
/home/cvs/jakarta-commons/io/src/test/org/apache/commons/io/testtools/YellOnFlushAndCloseOutputStream.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- YellOnFlushAndCloseOutputStream.java 23 Feb 2004 05:02:26 -0000 1.3
+++ YellOnFlushAndCloseOutputStream.java 13 Aug 2004 23:39:46 -0000 1.4
@@ -59,4 +59,9 @@
super.close();
}
+ public void off() {
+ yellForFlush = false;
+ yellForClose = false;
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]