commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/adapters/io TestCharIteratorReader.java
Date Thu, 17 Apr 2003 12:13:15 GMT
rwaldhoff    2003/04/17 05:13:14

  Modified:    collections/src/test/org/apache/commons/collections/primitives/adapters/io
                        TestCharIteratorReader.java
  Log:
  close reader, for completeness
  
  Revision  Changes    Path
  1.2       +4 -2      jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/adapters/io/TestCharIteratorReader.java
  
  Index: TestCharIteratorReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/collections/src/test/org/apache/commons/collections/primitives/adapters/io/TestCharIteratorReader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestCharIteratorReader.java	16 Apr 2003 19:45:13 -0000	1.1
  +++ TestCharIteratorReader.java	17 Apr 2003 12:13:14 -0000	1.2
  @@ -102,6 +102,7 @@
           }
           assertEquals(-1,in.read());
           assertEquals(-1,in.read());
  +        in.close();
       }
   
       public void testReadEmpty() throws Exception {
  @@ -109,6 +110,7 @@
           Reader in = new CharIteratorReader(list.iterator());
           assertEquals(-1,in.read());
           assertEquals(-1,in.read());
  +        in.close();
       }
   
       public void testAdaptNull() {
  
  
  

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


Mime
View raw message