jdk/src/share/classes/java/util/Scanner.java
changeset 5998 586c1b1dbb10
parent 5506 202f599c92aa
child 6489 9e7015635425
--- a/jdk/src/share/classes/java/util/Scanner.java	Thu Jul 01 15:30:44 2010 -0400
+++ b/jdk/src/share/classes/java/util/Scanner.java	Tue Jul 06 18:58:30 2010 -0700
@@ -343,7 +343,7 @@
  *
  * @since   1.5
  */
-public final class Scanner implements Iterator<String> {
+public final class Scanner implements Iterator<String>, Closeable {
 
     // Internal buffer used to hold input
     private CharBuffer buf;