You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2004/08/14 01:39:46 UTC

cvs commit: jakarta-commons/io/src/test/org/apache/commons/io/testtools YellOnFlushAndCloseOutputStream.java

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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org