You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rw...@apache.org on 2003/10/29 19:28:20 UTC
cvs commit: jakarta-commons/primitives/src/java/org/apache/commons/collections/primitives/adapters/io InputStreamByteIterator.java ReaderCharIterator.java
rwaldhoff 2003/10/29 10:28:20
Modified: primitives/src/java/org/apache/commons/collections/primitives/adapters/io
InputStreamByteIterator.java
ReaderCharIterator.java
Log:
fix comment
Revision Changes Path
1.2 +4 -5 jakarta-commons/primitives/src/java/org/apache/commons/collections/primitives/adapters/io/InputStreamByteIterator.java
Index: InputStreamByteIterator.java
===================================================================
RCS file: /home/cvs/jakarta-commons/primitives/src/java/org/apache/commons/collections/primitives/adapters/io/InputStreamByteIterator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- InputStreamByteIterator.java 13 Oct 2003 22:46:58 -0000 1.1
+++ InputStreamByteIterator.java 29 Oct 2003 18:28:20 -0000 1.2
@@ -112,9 +112,8 @@
next = stream.read();
nextAvailable = true;
} catch(IOException e) {
- // TODO: Fix me using tunnelled exception, see
- // http://radio.weblogs.com/0122027/2003/04/01.html#a7
- // for example
+ // TODO: Use a tunnelled exception instead?
+ // See http://radio.weblogs.com/0122027/2003/04/01.html#a7, for example
throw new RuntimeException(e.toString());
}
}
1.2 +4 -5 jakarta-commons/primitives/src/java/org/apache/commons/collections/primitives/adapters/io/ReaderCharIterator.java
Index: ReaderCharIterator.java
===================================================================
RCS file: /home/cvs/jakarta-commons/primitives/src/java/org/apache/commons/collections/primitives/adapters/io/ReaderCharIterator.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ReaderCharIterator.java 13 Oct 2003 22:46:58 -0000 1.1
+++ ReaderCharIterator.java 29 Oct 2003 18:28:20 -0000 1.2
@@ -112,9 +112,8 @@
next = reader.read();
nextAvailable = true;
} catch(IOException e) {
- // TODO: Fix me using tunnelled exception, see
- // http://radio.weblogs.com/0122027/2003/04/01.html#a7
- // for example
+ // TODO: Use a tunnelled exception instead?
+ // See http://radio.weblogs.com/0122027/2003/04/01.html#a7, for example
throw new RuntimeException(e.toString());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org