jakarta-ecs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject cvs commit: jakarta-ecs/src/java/org/apache/ecs ConcreteElement.java
Date Sun, 04 May 2003 08:48:39 GMT
rdonkin     2003/05/04 01:48:39

  Modified:    src/java/org/apache/ecs ConcreteElement.java
  Log:
  Fix for potential problem with PrintWriter not flushing. Submitted by Robert Lowe.
  
  Revision  Changes    Path
  1.29      +4 -2      jakarta-ecs/src/java/org/apache/ecs/ConcreteElement.java
  
  Index: ConcreteElement.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ecs/src/java/org/apache/ecs/ConcreteElement.java,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- ConcreteElement.java	27 Apr 2003 09:45:06 -0000	1.28
  +++ ConcreteElement.java	4 May 2003 08:48:38 -0000	1.29
  @@ -396,7 +396,9 @@
       */
       public void output(Writer out)
       {
  -        output ( new PrintWriter(out) );
  +        PrintWriter pw = new PrintWriter(out);
  +        output ( pw );
  +        pw.flush();
       }
       
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ecs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: ecs-dev-help@jakarta.apache.org


Mime
View raw message